MCPcopy Create free account
hub / github.com/kataras/iris / getQuery

Method getQuery

context/context.go:1492–1498  ·  view source on GitHub ↗

+------------------------------------------------------------+ | Various Request and Post Data | +------------------------------------------------------------+

()

Source from the content-addressed store, hash-verified

1490// +------------------------------------------------------------+
1491
1492func (ctx *Context) getQuery() url.Values {
1493 if ctx.query == nil {
1494 ctx.query = ctx.request.URL.Query()
1495 }
1496
1497 return ctx.query
1498}
1499
1500// URLParamExists returns true if the url parameter exists, otherwise false.
1501func (ctx *Context) URLParamExists(name string) bool {

Callers 7

URLParamExistsMethod · 0.95
URLParamDefaultMethod · 0.95
URLParamSliceMethod · 0.95
URLParamsMethod · 0.95
URLParamsSortedMethod · 0.95
ReadQueryMethod · 0.95
ReadURLMethod · 0.95

Calls 1

QueryMethod · 0.65

Tested by

no test coverage detected