mirror of
https://gitee.com/samwaf/SamWaf.git
synced 2025-12-06 14:59:18 +08:00
17 lines
316 B
Go
17 lines
316 B
Go
package router
|
|
|
|
import (
|
|
"SamWaf/api"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
type EngineRouter struct {
|
|
}
|
|
|
|
func (receiver *EngineRouter) InitEngineRouter(group *gin.RouterGroup) {
|
|
engineApi := api.APIGroupAPP.WafEngineApi
|
|
wafEngineRouter := group.Group("")
|
|
wafEngineRouter.GET("/samwaf/resetWAF", engineApi.ResetWaf)
|
|
|
|
}
|