feat: external notification

This commit is contained in:
Jacky 2025-04-09 17:25:07 +08:00
parent 241fa4adfe
commit 04de1360c2
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
42 changed files with 3292 additions and 1393 deletions

View file

@ -0,0 +1,13 @@
package external_notify
import (
"github.com/0xJacky/Nginx-UI/model"
"github.com/gin-gonic/gin"
"github.com/uozi-tech/cosy"
)
func InitRouter(r *gin.RouterGroup) {
c := cosy.Api[model.ExternalNotify]("/external_notifies")
c.InitRouter(r)
}