feat(admin): add full alerts dashboard functionality
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user