mirror of
https://gitee.com/samwaf/SamWaf.git
synced 2025-12-06 14:59:18 +08:00
17 lines
398 B
Go
17 lines
398 B
Go
package router
|
|
|
|
import (
|
|
"SamWaf/api"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
type WafSystemMonitorRouter struct {
|
|
}
|
|
|
|
func (s *WafSystemMonitorRouter) InitWafSystemMonitorRouter(group *gin.RouterGroup) {
|
|
wafSystemMonitorApi := api.APIGroupAPP.WafSystemMonitorApi
|
|
router := group.Group("")
|
|
router.GET("/samwaf/monitor/system_info", wafSystemMonitorApi.GetSystemMonitorApi) // 获取系统监控信息
|
|
|
|
}
|