Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthHandler ¶
type HealthHandler struct {
// contains filtered or unexported fields
}
func For ¶
func For(r *gin.Engine) *HealthHandler
func (*HealthHandler) WithLiveness ¶
func (h *HealthHandler) WithLiveness(sf StatusFunc) *HealthHandler
func (*HealthHandler) WithReadiness ¶
func (h *HealthHandler) WithReadiness(sf StatusFunc) *HealthHandler
type StatusFunc ¶
type StatusFunc func() Health
Click to show internal directories.
Click to hide internal directories.