Files
SamWaf/router/waf_websocket.go
T

16 lines
302 B
Go

package router
import (
"SamWaf/api"
"github.com/gin-gonic/gin"
)
type WebSocketRouter struct {
}
func (receiver *WebSocketRouter) InitWebSocketRouter(group *gin.RouterGroup) {
api := api.APIGroupAPP.WafWebSocketApi
router := group.Group("")
router.GET("/samwaf/ws", api.WebSocketMessageApi)
}