Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthCheck ¶
type HealthCheck struct {
// contains filtered or unexported fields
}
func NewHealthCheck ¶
func NewHealthCheck() *HealthCheck
func (*HealthCheck) Health ¶
func (h *HealthCheck) Health() Status
func (*HealthCheck) ServeHTTP ¶
func (h *HealthCheck) ServeHTTP(rw http.ResponseWriter, r *http.Request)
func (*HealthCheck) SetHealth ¶
func (h *HealthCheck) SetHealth(s Status)
func (*HealthCheck) String ¶
func (h *HealthCheck) String() string
Click to show internal directories.
Click to hide internal directories.