Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { AWS AWS BerlinAPIURL string `envconfig:"BERLIN_URL"` CategoryAPIURL string `envconfig:"CATEGORY_URL"` BindAddr string `envconfig:"BIND_ADDR"` ElasticSearchAPIURL string `envconfig:"ELASTIC_SEARCH_URL"` GracefulShutdownTimeout time.Duration `envconfig:"GRACEFUL_SHUTDOWN_TIMEOUT"` HealthCheckCriticalTimeout time.Duration `envconfig:"HEALTHCHECK_CRITICAL_TIMEOUT"` HealthCheckInterval time.Duration `envconfig:"HEALTHCHECK_INTERVAL"` NLPSettings string `envconfig:"NLP_SETTINGS"` EnableNLPWeighting bool `envconfig:"ENABLE_NLP_WEIGHTING"` ScrubberAPIURL string `envconfig:"SCRUBBER_URL"` OTBatchTimeout time.Duration `encconfig:"OTEL_BATCH_TIMEOUT"` OTServiceName string `envconfig:"OTEL_SERVICE_NAME"` OTExporterOTLPEndpoint string `envconfig:"OTEL_EXPORTER_OTLP_ENDPOINT"` OtelEnabled bool `envconfig:"OTEL_ENABLED"` ZebedeeURL string `envconfig:"ZEBEDEE_URL"` }
Config is the search API handler config
Click to show internal directories.
Click to hide internal directories.