File size: 232 Bytes
651d019
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)
}