nginx_ui/nginx-ui-dev/api/notification/router.go

13 lines
278 B
Go
Raw Normal View History

2025-03-04 19:28:12 +08:00
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)
}