Initial commit

This commit is contained in:
kandrusyak
2023-06-23 02:18:00 +03:00
commit 688ae61bc6
12 changed files with 297 additions and 0 deletions

14
handler/health.go Normal file
View File

@@ -0,0 +1,14 @@
package handler
import (
"github.com/labstack/echo/v4"
"net/http"
)
func (h *Handler) Health(c echo.Context) error {
type Resp struct {
Status string `json:"status"`
}
return c.JSON(http.StatusOK, Resp{Status: "OK"})
}