rentease/internal/server/handle_health.go
Ruidy ac10e65097
Refactor service (#14)
* add comments to main file

* create health check handler

health check

* use naming convention for booking handler

* use naming convention for hamndlers

naming convention

* clean up
2024-08-07 09:12:50 +02:00

13 lines
202 B
Go

package server
import (
"net/http"
"github.com/labstack/echo/v4"
)
func handleHealthCheck() echo.HandlerFunc {
return func(c echo.Context) error {
return c.String(http.StatusOK, "healthy")
}
}