实现监控节点管理

This commit is contained in:
刘祥超
2021-04-06 16:32:23 +08:00
parent f85b3a40ea
commit dbfbdddb3a
22 changed files with 617 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
package node
import (
"github.com/iwind/TeaGo/actions"
"net/http"
)
type Helper struct {
}
func NewHelper() *Helper {
return &Helper{}
}
func (this *Helper) BeforeAction(action *actions.ActionObject) (goNext bool) {
if action.Request.Method != http.MethodGet {
return true
}
return true
}