v1.2.0: lib: add health path
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
6e8f65223c
commit
1f9d3847e0
1 changed files with 11 additions and 0 deletions
11
lib/health/status.go
Normal file
11
lib/health/status.go
Normal 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)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue