github.com/HXSecurity/DongTai-agent-go@v0.4.2/run/gorilla/hookGorilla.go (about) 1 package gorilla 2 3 import ( 4 _ "github.com/HXSecurity/DongTai-agent-go/core/gorilla/gorillaRpcServerHTTP" 5 "github.com/HXSecurity/DongTai-agent-go/global" 6 "github.com/HXSecurity/DongTai-agent-go/hook" 7 ) 8 9 func init() { 10 g := new(hook.Gorilla) 11 global.AllHooks = append(global.AllHooks, g) 12 g.HookAll() 13 }