A simple and flexible health check library for Go.
CheckerResult
s
Details
field is now no pointer anymore.WithMaxErrorMessageLength
was removed. This used to control the length of the string field CheckResult.Error
.
Instead of returning the error as a string, it is now being returned as an error
.time.Time
fields in health.CheckState
are now values rather than pointers. Use the
IsZero
-method to check if a value has been set or not instead.checks
map in the JSON response. In case no check functions are defined, the JSON response will therefore not be { "status": "up", "checks" : {} }
anymore but only { "status": "up" }
.examples/kubernetes
).Documentation improvements.