Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CantabularConfig ¶ added in v1.1.0
type Config ¶
type Config struct {
BindAddr string `envconfig:"BIND_ADDR"`
GracefulShutdownTimeout time.Duration `envconfig:"GRACEFUL_SHUTDOWN_TIMEOUT"`
HealthCheckInterval time.Duration `envconfig:"HEALTHCHECK_INTERVAL"`
HealthCheckCriticalTimeout time.Duration `envconfig:"HEALTHCHECK_CRITICAL_TIMEOUT"`
ServiceAuthToken string `envconfig:"SERVICE_AUTH_TOKEN" json:"-"`
EnablePrivateEndpoints bool `envconfig:"ENABLE_PRIVATE_ENDPOINTS"`
EnablePermissionsAuth bool `envconfig:"ENABLE_PERMISSIONS_AUTH"`
ZebedeeURL string `envconfig:"ZEBEDEE_URL"`
DatasetAPIURL string `envconfig:"DATASET_API_URL"`
MetadataCollection string `envconfig:"METADATA_COLLECTION"`
CensusObservationsFF bool `envconfig:"CENSUS_OBSERVATIONS_FF"`
MaxRowsReturned int `envconfig:"MAX_ROWS_RETURNED"`
OTExporterOTLPEndpoint string `envconfig:"OTEL_EXPORTER_OTLP_ENDPOINT"`
OTServiceName string `envconfig:"OTEL_SERVICE_NAME"`
OTBatchTimeout time.Duration `envconfig:"OTEL_BATCH_TIMEOUT"`
OtelEnabled bool `envconfig:"OTEL_ENABLED"`
Mongo mongo.MongoDriverConfig
CantabularConfig
}
Config represents service configuration for dp-population-types-api
Click to show internal directories.
Click to hide internal directories.