# Packages
No description provided by the author
# Functions
CheckStatus returns a map with all the current health check errors from the default registry.
Handler returns a handler that will return 503 response code if the health checks have failed.
NewRegistry creates a new registry.
NewStatusUpdater returns a new updater.
NewThresholdStatusUpdater returns a new thresholdUpdater.
PeriodicChecker wraps an updater to provide a periodic checker.
PeriodicThresholdChecker wraps an updater to provide a periodic checker that uses a threshold before it changes status.
Register associates the checker with the provided name in the default registry.
RegisterFunc allows the convenience of registering a checker in the default registry directly from an arbitrary func() error.
RegisterPeriodicFunc allows the convenience of registering a PeriodicChecker in the default registry from an arbitrary func() error.
RegisterPeriodicThresholdFunc allows the convenience of registering a PeriodicChecker in the default registry from an arbitrary func() error.
StatusHandler returns a JSON blob with all the currently registered Health Checks and their corresponding status.
# Variables
DefaultRegistry is the default registry where checks are registered.
# Type aliases
CheckFunc is a convenience type to create functions that implement the Checker interface.