forked from ebhomengo/niki
1
0
Fork 0
niki/delivery/http_server/health_check.go

14 lines
215 B
Go

package httpserver
import (
"net/http"
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!",
})
}