Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HealthCheck ¶
HealthCheck is key-value store that contain health check information
func NewHealthCheck ¶
func NewHealthCheck() HealthCheck
NewHealthCheck return new instance of HealthCheck
func (HealthCheck) Add ¶
func (c HealthCheck) Add(name string, err error) HealthCheck
Add name and error to register as heath check
func (HealthCheck) NotOK ¶
func (c HealthCheck) NotOK() bool
NotOK return true is some error registered
Click to show internal directories.
Click to hide internal directories.