Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
BindAddr string `envconfig:"BIND_ADDR"`
RedirectAPIURL string `envconfig:"REDIRECT_API_URL"`
GracefulShutdownTimeout time.Duration `envconfig:"GRACEFUL_SHUTDOWN_TIMEOUT"`
HealthCheckInterval time.Duration `envconfig:"HEALTHCHECK_INTERVAL"`
HealthCheckCriticalTimeout time.Duration `envconfig:"HEALTHCHECK_CRITICAL_TIMEOUT"`
OTBatchTimeout time.Duration `encconfig:"OTEL_BATCH_TIMEOUT"`
OTExporterOTLPEndpoint string `envconfig:"OTEL_EXPORTER_OTLP_ENDPOINT"`
OTServiceName string `envconfig:"OTEL_SERVICE_NAME"`
OtelEnabled bool `envconfig:"OTEL_ENABLED"`
RedisAddress string `envconfig:"REDIS_ADDRESS"`
AuthorisationConfig *authorisation.Config
}
Config represents service configuration for dis-redirect-api
Click to show internal directories.
Click to hide internal directories.