package
Version:
v0.9.17
Opens a new window with list of versions in this module.
Published: Apr 22, 2024
License: BSD-3-Clause
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package healthcheck implements the logic for healthcheck binary.
To use this library, create a package with main function as:
func main() {
os.Exit(healthcheck.Run())
}
Run runs healthcheck.
It returns 0 to indicate success,
and non-zero to indicate failure.
Your main function usually should look like:
func main() {
os.Exit(healthcheck.Run())
}
RunArgs is the more customizable version of Run.
In production code it expects you to pass in os.Args as the arg.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.