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

Method GetRelPath

core/router/party.go:118–118  ·  view source on GitHub ↗

GetRelPath returns the current party's relative path. i.e: if r := app.Party("/users"), then the `r.GetRelPath()` is the "/users". if r := app.Party("www.") or app.Subdomain("www") then the `r.GetRelPath()` is the "www.".

()

Source from the content-addressed store, hash-verified

116 // if r := app.Party("/users"), then the `r.GetRelPath()` is the "/users".
117 // if r := app.Party("www.") or app.Subdomain("www") then the `r.GetRelPath()` is the "www.".
118 GetRelPath() string
119 // Macros returns the macro collection that is responsible
120 // to register custom macros with their own parameter types and their macro functions for all routes.
121 //

Callers 8

SubdomainRedirectMethod · 0.65
attachInjectorMethod · 0.65
handlerOfMethod · 0.65
defaultPartyMatcherFunction · 0.65
convertHandlerFuncsMethod · 0.65
HandlerMethod · 0.65
NewGroupFunction · 0.65

Implementers 1

APIBuildercore/router/api_builder.go

Calls

no outgoing calls

Tested by

no test coverage detected