github.com/HXSecurity/DongTai-agent-go@v0.4.2/core/base/urlUrlString/replacement.go (about) 1 package urlUrlString 2 3 import ( 4 "github.com/HXSecurity/DongTai-agent-go/model/request" 5 "net/url" 6 ) 7 8 func String(url *url.URL) string { 9 s := StringT(url) 10 request.FmtHookPool(request.PoolReq{ 11 Args: request.Collect(url), 12 Reqs: request.Collect(s), 13 Source: false, 14 OriginClassName: "url.(*URL)", 15 MethodName: "String", 16 ClassName: "url.(*URL)", 17 }) 18 19 return s 20 } 21 22 func StringT(url *url.URL) string { 23 return "" 24 }