Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v1.9.0
type Config struct {
APIRouterURL string `envconfig:"API_ROUTER_URL"`
BabbageURL string `envconfig:"BABBAGE_URL"`
BindAddr string `envconfig:"BIND_ADDR"`
CensusAtlasRoutesEnabled bool `envconfig:"CENSUS_ATLAS_ROUTES_ENABLED"`
CensusAtlasURL string `envconfig:"CENSUS_ATLAS_URL"`
ContentTypeByteLimit int `envconfig:"CONTENT_TYPE_BYTE_LIMIT"`
CookiesControllerURL string `envconfig:"COOKIES_CONTROLLER_URL"`
DatasetControllerURL string `envconfig:"DATASET_CONTROLLER_URL"`
DatasetFinderEnabled bool `envconfig:"DATASET_FINDER_ENABLED"`
DownloaderURL string `envconfig:"DOWNLOADER_URL"`
FeedbackControllerURL string `envconfig:"FEEDBACK_CONTROLLER_URL"`
FeedbackEnabled bool `envconfig:"FEEDBACK_ENABLED"`
FilterDatasetControllerURL string `envconfig:"FILTER_DATASET_CONTROLLER_URL"`
FilterFlexDatasetServiceURL string `envconfig:"FILTER_FLEX_DATASET_SERVICE_URL"`
HealthcheckCriticalTimeout time.Duration `envconfig:"HEALTHCHECK_CRITICAL_TIMEOUT"`
HealthcheckInterval time.Duration `envconfig:"HEALTHCHECK_INTERVAL"`
HomepageControllerURL string `envconfig:"HOMEPAGE_CONTROLLER_URL"`
HTTPMaxConnections int `envconfig:"HTTP_MAX_CONNECTIONS"`
LegacySearchRedirectsEnabled bool `envconfig:"LEGACY_SEARCH_REDIRECTS_ENABLED"`
LegacyCacheProxyEnabled bool `envconfig:"LEGACY_CACHE_PROXY_ENABLED"`
LegacyCacheProxyURL string `envconfig:"LEGACY_CACHE_PROXY_URL"`
NewDatasetRoutingEnabled bool `envconfig:"NEW_DATASET_ROUTING_ENABLED"`
OTExporterOTLPEndpoint string `envconfig:"OTEL_EXPORTER_OTLP_ENDPOINT"`
OTServiceName string `envconfig:"OTEL_SERVICE_NAME"`
OTBatchTimeout time.Duration `envconfig:"OTEL_BATCH_TIMEOUT"`
OtelEnabled bool `envconfig:"OTEL_ENABLED"`
PreviousReleasesRouteEnabled bool `envconfig:"PREVIOUS_RELEASES_ROUTE_ENABLED"`
ProxyTimeout time.Duration `envconfig:"PROXY_TIMEOUT"`
RelatedDataRouteEnabled bool `envconfig:"RELATED_DATA_ROUTE_ENABLED"`
ReleaseCalendarControllerURL string `envconfig:"RELEASE_CALENDAR_CONTROLLER_URL"`
SearchControllerURL string `envconfig:"SEARCH_CONTROLLER_URL"`
DataAggregationPagesEnabled bool `envconfig:"DATA_AGGREGATION_PAGES_ENABLED"`
TopicAggregationPagesEnabled bool `envconfig:"TOPIC_AGGREGATION_PAGES_ENABLED"`
SearchRoutesEnabled bool `envconfig:"SEARCH_ROUTES_ENABLED"`
SiteDomain string `envconfig:"SITE_DOMAIN"`
ZebedeeRequestMaximumRetries int `envconfig:"ZEBEDEE_REQUEST_MAXIMUM_RETRIES"`
ZebedeeRequestMaximumTimeout time.Duration `envconfig:"ZEBEDEE_REQUEST_TIMEOUT_SECONDS"`
}
Config represents service configuration for dp-frontend-router
Click to show internal directories.
Click to hide internal directories.