Categorygithub.com/ONSdigital/dp-frontend-articles-controller
modulepackage
0.0.0-20241018080618-083e1eafdf36
Repository: https://github.com/onsdigital/dp-frontend-articles-controller.git
Documentation: pkg.go.dev

# README

dp-frontend-articles-controller

Controller for handling articles on ONS website

Getting started

  • Run make debug

Dependencies

  • No further dependencies other than those defined in go.mod

Configuration

Environment variableDefaultDescription
BIND_ADDR:26500The host and port to bind to
GRACEFUL_SHUTDOWN_TIMEOUT5sThe graceful shutdown timeout in seconds (time.Duration format)
DEBUGfalseEnable debug mode
API_ROUTER_URLhttp://localhost:23200/v1The URL of the dp-api-router
SITE_DOMAINlocalhost
HEALTHCHECK_INTERVAL30sTime between self-healthchecks (time.Duration format)
HEALTHCHECK_CRITICAL_TIMEOUT90sTime to wait until an unhealthy dependent propagates its state to make this app unhealthy (time.Duration format)

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.

# Packages

assets in locale and templates folders are converted into Go source code with go-bindata the data.go file in this package is auto generated through the generate-debug and generate-prod tasks in the Makefile.
No description provided by the author
Package handlers is a generated GoMock package.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author