github.com/HXSecurity/DongTai-agent-go@v0.4.2/run/http/hookHttp.go (about)

     1  package http
     2  
     3  import (
     4  	_ "github.com/HXSecurity/DongTai-agent-go/core/http/httpHeaderGet"
     5  	_ "github.com/HXSecurity/DongTai-agent-go/core/http/httpRequestCookie"
     6  	_ "github.com/HXSecurity/DongTai-agent-go/core/http/httpRequestFormValue"
     7  	_ "github.com/HXSecurity/DongTai-agent-go/core/http/httpServeHTTP"
     8  	_ "github.com/HXSecurity/DongTai-agent-go/core/http/urlURLQuery"
     9  	"github.com/HXSecurity/DongTai-agent-go/global"
    10  	"github.com/HXSecurity/DongTai-agent-go/hook"
    11  )
    12  
    13  func init() {
    14  	h := new(hook.Http)
    15  	global.AllHooks = append(global.AllHooks, h)
    16  	h.HookAll()
    17  }