package
Version:
v0.0.0-...-71af635
Opens a new window with list of versions in this module.
Published: Sep 25, 2016
License: Apache-2.0
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
¶
health
This module enables a simple health check.
By default it will listen on port 8080.
Restarting CoreDNS will stop the health checking. This is a bug. Also this upstream
Caddy bug.
Syntax
health
Optionally takes an address; the default is :8080
. The health path is fixed to /health
. It
will just return "OK" when CoreDNS is healthy.
This middleware only needs to be enabled once.
Examples
health localhost:8091
Documentation
¶
Package health implements an HTTP handler that responds to health checks.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.