Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // used by the repositories (required) DatabaseURL string `koanf:"DATABASE_URL"` DatabaseDriver string `koanf:"DATABASE_DRIVER"` // used by tracing ServiceName string `koanf:"SERVICE_NAME"` ServiceVersion string `koanf:"SERVICE_VERSION"` TracingExporter string `koanf:"TRACING_EXPORTER"` TracingHost string `koanf:"TRACING_HOST"` TracingPort string `koanf:"TRACING_PORT"` // general Env string `koanf:"ENV"` Port string `koanf:"PORT"` Listen string `koanf:"LISTEN"` ApiKey string `koanf:"API_KEY"` }
var Conf *Config
func ProvideConfig ¶
Click to show internal directories.
Click to hide internal directories.