dp-legacy-redirector

command module
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 License: MIT Imports: 8 Imported by: 0

README

dp-legacy-redirector

Handles redirects for legacy ONS services including Neighbourhood Statistics, Web Data Access and Visual.ONS.

Getting started

To run locally:

  • Clone this repo
  • go run main.go

To build for release:

  • make docker
Configuration

Configuration for the redirector.

Environment variable Default Description
BIND_ADDR :24600 The host and port to bind to
HEALTHCHECK_INTERVAL 60s The period of time between health checks
HEALTHCHECK_CRITICAL_TIMEOUT 5s The period of time after which failing checks
License

Copyright ©‎ 2017-2020, 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

Jump to

Keyboard shortcuts

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