Files
query-orchestration/internal/serviceconfig
Michael McGuinness c1e9d93037 Merged in feature/jobsync (pull request #63)
Document Sync and Job Sync

* docsyncfunc

* startedQueryWork

* morefixes

* jobsyncsvcstart

* save

* jobsynctext

* save

* save

* docsync

* shorttest

* jobsync

* jobsyncupdateoncollectorupdate

* passlivetest

* collectortest

* lint
2025-02-12 19:00:25 +00:00
..

Service Configuration

This directory contains the service configuration for the DoczyAI project. Common code that is shared by all of the services in the project.

Note that the library currently supports only mapping ENV (and .env) variables to the root of your configuration struct type. Mapping is by name. See https://github.com/caarlos0/env for rules around tagging.

For example:

type AnyServiceNameConfig struct {
    // BaseConfig has all of the common base configuration that all services should have.
    serviceconfig.BaseConfig // Embed the base configuration

	// add any custom values that this service needs
	SomeCustomStringValue string `env:"SOME_CUSTOM_STRING_VALUE"`
}