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"`
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"`
Mongo mongo.MongoDriverConfig
CantabularConfig
}
Config represents service configuration for dp-population-types-api
Click to show internal directories.
Click to hide internal directories.