Chat / core /http /routes /health.go
Baraaqasem's picture
Upload 711 files
651d019 verified
raw
history blame contribute delete
232 Bytes
package routes
import "github.com/gofiber/fiber/v2"
func HealthRoutes(app *fiber.App) {
// Service health checks
ok := func(c *fiber.Ctx) error {
return c.SendStatus(200)
}
app.Get("/healthz", ok)
app.Get("/readyz", ok)
}