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
Configuration
Environment variable
Config
Description
Default
BIND_ADDR
BindAddr
The Port to run on
:24100
SITE_DOMAIN
SiteDomain
localhost
GRACEFUL_SHUTDOWN_TIMEOUT
GracefulShutdownTimeout
Time to wait during graceful shutdown
5 seconds
HEALTHCHECK_INTERVAL
HealthCheckInterval
Interval between health checks
30 seconds
HEALTHCHECK_CRITICAL_TIMEOUT
HealthCheckCriticalTimeout
Amount of time to pass since last healthy health check to be deemed a critical failure
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-dev and generate-prod tasks in the Makefile
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-dev and generate-prod tasks in the Makefile