chore(app) transferred codebase from Lab2

This commit is contained in:
imadev
2026-10-26 19:40:35 +03:00
parent 0ab3a341aa
commit f731f9b460
45 changed files with 2653 additions and 13 deletions
+13
View File
@@ -0,0 +1,13 @@
package health
import (
"gitflic.ru/project/bulla-max/mtusi2026lab2/internal/session"
"gitflic.ru/project/bulla-max/mtusi2026lab2/internal/store"
"github.com/gofiber/fiber/v3"
)
func RegisterRoutes(router fiber.Router, st *store.Store, sessions *session.Store) {
handler := NewHandler(st, sessions)
router.Get("/live", handler.Live)
router.Get("/ready", handler.Ready)
}