Documentation
¶
Index ¶
Constants ¶
View Source
const ( StatusKey = "status" UnHealthyStatus = "fail" HealthyStatus = "pass" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Checker ¶
type Checker struct {
// contains filtered or unexported fields
}
func NewChecker ¶
func (*Checker) RegisterCheck ¶
type FakeHealthyCheck ¶
type FakeHealthyCheck struct {
}
func (FakeHealthyCheck) CheckHealth ¶
func (FakeHealthyCheck) CheckHealth(context context.Context) Health
type FakeUnhealthyCheck ¶
type FakeUnhealthyCheck struct {
}
func (FakeUnhealthyCheck) CheckHealth ¶
func (FakeUnhealthyCheck) CheckHealth(context context.Context) Health
Click to show internal directories.
Click to hide internal directories.