prompt 1,2,3
This commit is contained in:
15
internal/http/router.go
Normal file
15
internal/http/router.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package http
|
||||
|
||||
import (
|
||||
"trustcontact/internal/config"
|
||||
|
||||
"github.com/gofiber/fiber/v2"
|
||||
"github.com/gofiber/fiber/v2/middleware/session"
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
func RegisterRoutes(app *fiber.App, _ *session.Store, _ *gorm.DB, _ *config.Config) {
|
||||
app.Get("/healthz", func(c *fiber.Ctx) error {
|
||||
return c.SendStatus(fiber.StatusOK)
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user