MCPcopy
hub / github.com/valyala/fasthttp / QueryArgs

Method QueryArgs

uri.go:930–933  ·  view source on GitHub ↗

QueryArgs returns query args. The returned args are valid until the next URI method call.

()

Source from the content-addressed store, hash-verified

928//
929// The returned args are valid until the next URI method call.
930func (u *URI) QueryArgs() *Args {
931 u.parseQueryArgs()
932 return &u.queryArgs
933}
934
935func (u *URI) parseQueryArgs() {
936 if u.parsedQueryArgs {

Callers 8

TestURICopyToQueryArgsFunction · 0.95
testURIFullURIFunction · 0.95
TestRequestRequestURIFunction · 0.45
TestRequestUpdateURIFunction · 0.45
TestUseHostHeaderFunction · 0.45
getExpvarRegexpFunction · 0.45
requestHandlerFunction · 0.45

Calls 1

parseQueryArgsMethod · 0.95

Tested by 6

TestURICopyToQueryArgsFunction · 0.76
testURIFullURIFunction · 0.76
TestRequestRequestURIFunction · 0.36
TestRequestUpdateURIFunction · 0.36
TestUseHostHeaderFunction · 0.36