add org_id and health endpoint

This commit is contained in:
kandrusyak
2023-07-16 15:30:02 +03:00
parent ee38811709
commit 454c9bc82e
5 changed files with 49 additions and 10 deletions

14
handler/health.go Normal file
View File

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