diff --git a/CHANGELOG.md b/CHANGELOG.md index f178b1e..c9ed81c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.0.1 + +Add JSON and YAML tag as well as a sane default for the HTTP configuration. + ## 1.0.0 Initial version of a health check service using an external configuration. \ No newline at end of file diff --git a/health.go b/health.go index 6354c89..6c58632 100644 --- a/health.go +++ b/health.go @@ -8,7 +8,7 @@ import ( // Config is the configuration for the HealthCheckService. type Config struct { - http.ServerConfiguration + http.ServerConfiguration `json:",inline" yaml:",inline" default:"{\"listen\":\"0.0.0.0:23074\"}"` } // New creates a new HTTP health service on port 23074