Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiskChecker ¶
type DiskChecker struct {
// contains filtered or unexported fields
}
func NewDiskChecker ¶
func NewDiskChecker(name string, path string, minFreeBytes uint64) *DiskChecker
func (*DiskChecker) Name ¶
func (c *DiskChecker) Name() string
type FuncChecker ¶
type FuncChecker struct {
// contains filtered or unexported fields
}
func NewFuncChecker ¶
func NewFuncChecker(name string, fn func(ctx context.Context) Result) *FuncChecker
func (*FuncChecker) Name ¶
func (c *FuncChecker) Name() string
type HTTPChecker ¶
type HTTPChecker struct {
// contains filtered or unexported fields
}
func NewHTTPChecker ¶
func NewHTTPChecker(name, url string, client *http.Client) *HTTPChecker
func (*HTTPChecker) Name ¶
func (c *HTTPChecker) Name() string
type Health ¶
type Health struct {
// contains filtered or unexported fields
}
func (*Health) Handler ¶
func (h *Health) Handler() gin.HandlerFunc
Click to show internal directories.
Click to hide internal directories.