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 NewHealthHandler ¶
func NewHealthHandler(checks ...ReadinessCheck) *HealthHandler
func (*HealthHandler) Liveness ¶
func (h *HealthHandler) Liveness(c *fiber.Ctx) error
Liveness godoc @Summary Liveness probe @Description Reports whether the process is alive. @Tags system @Produce json @Success 200 {object} map[string]string @Router /healthz [get]
func (*HealthHandler) Readiness ¶
func (h *HealthHandler) Readiness(c *fiber.Ctx) error
Readiness godoc @Summary Readiness probe @Description Reports whether the process is ready to serve traffic. @Tags system @Produce json @Success 200 {object} map[string]string @Failure 503 {object} map[string]string @Router /readyz [get]
type ReadinessCheck ¶ added in v0.3.4
type VersionHandler ¶
type VersionHandler struct{}
func NewVersionHandler ¶
func NewVersionHandler() *VersionHandler
Click to show internal directories.
Click to hide internal directories.