mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
feat: external notification
This commit is contained in:
parent
241fa4adfe
commit
04de1360c2
42 changed files with 3292 additions and 1393 deletions
13
api/external_notify/external_notify.go
Normal file
13
api/external_notify/external_notify.go
Normal 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)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue