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 {
BindAddr string `envconfig:"BIND_ADDR"`
BabbageURL string `envconfig:"BABBAGE_URL"`
RendererURL string `envconfig:"RENDERER_URL"`
CookiesControllerURL string `envconfig:"COOKIES_CONTROLLER_URL"`
HomepageControllerURL string `envconfig:"HOMEPAGE_CONTROLLER_URL"`
DatasetControllerURL string `envconfig:"DATASET_CONTROLLER_URL"`
FilterDatasetControllerURL string `envconfig:"FILTER_DATASET_CONTROLLER_URL"`
GeographyControllerURL string `envconfig:"GEOGRAPHY_CONTROLLER_URL"`
GeographyEnabled bool `envconfig:"GEOGRAPHY_ENABLED"`
FeedbackControllerURL string `envconfig:"FEEDBACK_CONTROLLER_URL"`
FeedbackEnabled bool `envconfig:"FEEDBACK_ENABLED"`
SearchControllerURL string `envconfig:"SEARCH_CONTROLLER_URL"`
SearchRoutesEnabled bool `envconfig:"SEARCH_ROUTES_ENABLED"`
APIRouterURL string `envconfig:"API_ROUTER_URL"`
DownloaderURL string `envconfig:"DOWNLOADER_URL"`
PatternLibraryAssetsPath string `envconfig:"PATTERN_LIBRARY_ASSETS_PATH"`
SiteDomain string `envconfig:"SITE_DOMAIN"`
RedirectSecret string `envconfig:"REDIRECT_SECRET" json:"-"`
SQSAnalyticsURL string `envconfig:"SQS_ANALYTICS_URL"`
ContentTypeByteLimit int `envconfig:"CONTENT_TYPE_BYTE_LIMIT"`
HealthckeckCriticalTimeout time.Duration `envconfig:"HEALTHCHECK_CRITICAL_TIMEOUT"`
HealthckeckInterval time.Duration `envconfig:"HEALTHCHECK_INTERVAL"`
ZebedeeRequestMaximumTimeoutSeconds time.Duration `envconfig:"ZEBEDEE_REQUEST_TIMEOUT_SECONDS"`
ZebedeeRequestMaximumRetries int `envconfig:"ZEBEDEE_REQUEST_MAXIMUM_RETRIES"`
}
Config represents service configuration for dp-frontend-router
Click to show internal directories.
Click to hide internal directories.