MCPcopy Create free account
hub / github.com/chainreactors/spray / BaseURL

Function BaseURL

pkg/utils.go:401–403  ·  view source on GitHub ↗
(u *url.URL)

Source from the content-addressed store, hash-verified

399}
400
401func BaseURL(u *url.URL) string {
402 return u.Scheme + "://" + u.Host
403}
404
405func RandomUA() string {
406 return randomUserAgent[rand.Intn(uacount)]

Callers 3

InitMethod · 0.92
doPocMethod · 0.92
doRedirectMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected