command
module
Version:
v0.8.0
Opens a new window with list of versions in this module.
Published: Sep 6, 2021
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
dp-observation-api
dp-observation-api
Getting started
Dependencies
- No further dependencies other than those defined in
go.mod
Configuration
Environment variable |
Default |
Description |
BIND_ADDR |
:24500 |
The host and port to bind to |
SERVICE_AUTH_TOKEN |
"" |
The token used to identify this service when authenticating |
DATASET_API_URL |
http://localhost:22000 |
The host name for the dataset API |
OBSERVATION_API_URL |
http://localhost:24500 |
The host name for the observation API |
ZEBEDEE_URL |
http://localhost:8082 |
The host name for Zebedee |
DEFAULT_OBSERVATION_LIMIT |
1000 |
The default limit number of observations returned in a reauest |
ENABLE_PRIVATE_ENDPOINTS |
false |
Flag to enable private endpoints for the API |
GRACEFUL_SHUTDOWN_TIMEOUT |
5s |
The 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) |
Contributing
See CONTRIBUTING for details.
License
Copyright © 2020, Office for National Statistics (https://www.ons.gov.uk)
Released under MIT license, see LICENSE for details.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.