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"` CORSAllowedOrigins string `envconfig:"CORS_ALLOWED_ORIGINS"` ShutdownTimeout time.Duration `envconfig:"SHUTDOWN_TIMEOUT"` HealthCheckCriticalTimeout time.Duration `envconfig:"HEALTHCHECK_CRITICAL_TIMEOUT"` HealthCheckInterval time.Duration `envconfig:"HEALTHCHECK_INTERVAL"` OTBatchTimeout time.Duration `encconfig:"OTEL_BATCH_TIMEOUT"` OTServiceName string `envconfig:"OTEL_SERVICE_NAME"` OTExporterOTLPEndpoint string `envconfig:"OTEL_EXPORTER_OTLP_ENDPOINT"` TableRendererHost string `envconfig:"TABLE_RENDERER_HOST"` ContentServerHost string `envconfig:"CONTENT_SERVER_HOST"` APIRouterURL string `envconfig:"API_ROUTER_URL"` }
Config is the configuration for this service
Click to show internal directories.
Click to hide internal directories.