package handler import ( "net/http" "github.com/labstack/echo/v4" ) // HealthHandler serves the health check endpoint. type HealthHandler struct{} // NewHealthHandler returns a new HealthHandler. func NewHealthHandler() *HealthHandler { return &HealthHandler{} } // Health responds with {"status":"ok"}. func (h *HealthHandler) Health(c echo.Context) error { return c.JSON(http.StatusOK, map[string]string{"status": "ok"}) }