mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 18:35:51 +02:00
12 lines
278 B
Go
12 lines
278 B
Go
package notification
|
|
|
|
import "github.com/gin-gonic/gin"
|
|
|
|
func InitRouter(r *gin.RouterGroup) {
|
|
r.GET("notifications", GetList)
|
|
r.GET("notifications/:id", Get)
|
|
r.DELETE("notifications/:id", Destroy)
|
|
r.DELETE("notifications", DestroyAll)
|
|
|
|
r.GET("notifications/live", Live)
|
|
}
|