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"`
DebugMode bool `envconfig:"ENABLE_DEBUG"`
DefaultLimit int `envconfig:"DEFAULT_LIMIT"`
DefaultMaximumLimit int `envconfig:"DEFAULT_MAXIMUM_LIMIT"`
DefaultOffset int `envconfig:"DEFAULT_OFFSET"`
DefaultSort string `envconfig:"DEFAULT_SORT"`
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.