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

View File

@@ -45,5 +45,7 @@ func main() {
e.GET("/", h.GetEvents)
e.DELETE("/", h.DeleteEvent)
e.GET("/health", handler.Health)
e.Logger.Fatal(e.Start(":" + config.Env.Server.Port))
}