v1.2.0: lib: add health path

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2024-04-01 19:49:02 +02:00
commit 1f9d3847e0
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632

11
lib/health/status.go Normal file
View file

@ -0,0 +1,11 @@
package health
import (
"net/http"
"github.com/labstack/echo/v4"
)
func Health(c echo.Context) error {
return c.NoContent(http.StatusOK)
}