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

Method URLParam

context/context.go:1516–1518  ·  view source on GitHub ↗

URLParam returns the get parameter from a request, if any.

(name string)

Source from the content-addressed store, hash-verified

1514
1515// URLParam returns the get parameter from a request, if any.
1516func (ctx *Context) URLParam(name string) string {
1517 return ctx.URLParamDefault(name, "")
1518}
1519
1520// URLParamSlice a shortcut of ctx.Request().URL.Query()[name].
1521// Like `URLParam` but it returns all values instead of a single string separated by commas.

Callers 15

GetReferrerMethod · 0.95
URLParamTrimMethod · 0.95
URLParamEscapeMethod · 0.95
URLParamIntMethod · 0.95
URLParamInt32DefaultMethod · 0.95
URLParamInt64Method · 0.95
URLParamUint64Method · 0.95
URLParamFloat64Method · 0.95
URLParamBoolMethod · 0.95
main.goFile · 0.80
protectedFunction · 0.80
refreshTokenFunction · 0.80

Calls 1

URLParamDefaultMethod · 0.95

Tested by 2

BeginRequestMethod · 0.64
newRequestDep1Function · 0.64