Documentation
¶
Index ¶
Constants ¶
View Source
const ExternalConfigName = "healthcheck"
ExternalConfigName is the external config name of health check.
Variables ¶
This section is empty.
Functions ¶
func Checker ¶
func Checker(checker HealthChecker) nirvana.Configurer
Checker returns a configurer to set health checker.
func Disable ¶
func Disable() nirvana.Configurer
Disable returns a configurer to disable healthcheck.
func Path ¶
func Path(path string) nirvana.Configurer
Path returns a configurer to set health check path.
Types ¶
type HealthChecker ¶
HealthChecker checks if current server is healthy.
Click to show internal directories.
Click to hide internal directories.