dp-frontend-interactives-controller

command module
v0.0.0-...-c02c293 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2023 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

dp-frontend-interactives-controller


⚠ This repository will be archived in November 2023 as it is no longer in development. ⚠


Controller for handling interactive visualisation pages on ONS website

Getting started
  • Run make debug
Dependencies
  • No further dependencies other than those defined in go.mod
Configuration
Environment variable Default Description
BIND_ADDR :27300 Host and port to bind to
GRACEFUL_SHUTDOWN_TIMEOUT 5s Graceful shutdown timeout in seconds (time.Duration format)
HEALTHCHECK_INTERVAL 30s Time between self-healthchecks (time.Duration format)
HEALTHCHECK_CRITICAL_TIMEOUT 90s Time to wait until an unhealthy dependent propagates its state to make this app unhealthy (time.Duration format)
SERVE_FROM_EMBEDDED_CONTENT false To serve content from embedded, static FS (storage/localfs) - testing/development only
API_ROUTER_URL http://localhost:23200/v1 URL of the dp-api-router
Contributing

See CONTRIBUTING for details.

License

Copyright © 2022, Office for National Statistics (https://www.ons.gov.uk)

Released under MIT license, see LICENSE for details.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
features

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL