feat(admin): add full alerts dashboard functionality

This commit is contained in:
2026-05-01 00:46:10 +03:00
parent 3844473eb3
commit 36d49a970e
10 changed files with 972 additions and 18 deletions

View File

@@ -21,6 +21,7 @@ type Handlers struct {
AdminLoginPost gin.HandlerFunc
AdminLogout gin.HandlerFunc
AdminDashboard gin.HandlerFunc
AdminAlerts gin.HandlerFunc
AdminAuth gin.HandlerFunc
}
@@ -50,4 +51,5 @@ func Register(router *gin.Engine, handlers Handlers) {
protected := router.Group("/admin", handlers.AdminAuth)
protected.GET("/dashboard", handlers.AdminDashboard)
protected.GET("/alerts", handlers.AdminAlerts)
}