package handler import ( "github.com/labstack/echo/v4" "net/http" ) type HealthHandler struct{} func NewHealthHandler() *HealthHandler { return &HealthHandler{} } func (handler *HealthHandler) Ready(c echo.Context) error { return c.JSON(http.StatusOK, map[string]bool{"ready": true}) } func (handler *HealthHandler) Alive(c echo.Context) error { return c.JSON(http.StatusOK, map[string]bool{"alive": true}) }