dp-frontend-homepage-controller
Getting started
This project uses go modules, ensure that go version 1.12 or above is in use.
If on go 1.12 then ensure the project either resides outside of your GOPATH
or GO111MODULE
is set to true
- To start the service use make,
make debug
Dependencies
Configuration
Config |
Description |
Default |
BindAddr |
The Port to run on |
:24400 |
GracefulShutdownTimeout |
Time to wait during graceful shutdown |
5 seconds |
HealthCheckInterval |
Interval between health checks |
30 seconds |
HealthCheckCriticalTimeout |
Amount of time to pass since last healthy health check to be deemed a critical failure |
90 seconds |
CacheUpdateInterval |
Duration for homepage cache updation |
|
IsPublishingMode |
Mode in which service is running |
|
Languages |
Languages which are supported separated by comma |
|
Contributing
See CONTRIBUTING for details.
License
Copyright © 2021, Office for National Statistics (https://www.ons.gov.uk)
Released under MIT license, see LICENSE for details.