niki/delivery/http_server/health_check.go

14 lines
215 B
Go
Raw Normal View History

package httpserver
import (
"net/http"
2024-01-02 15:35:26 +00:00
echo "github.com/labstack/echo/v4"
)
func (s Server) healthCheck(c echo.Context) error {
return c.JSON(http.StatusOK, echo.Map{
"message": "everything is good!",
})
}