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

Method IsStatic

context/route.go:38–38  ·  view source on GitHub ↗

IsStatic reports whether this route is a static route. Does not contain dynamic path parameters, is online and registered on GET HTTP Method.

()

Source from the content-addressed store, hash-verified

36 // Does not contain dynamic path parameters,
37 // is online and registered on GET HTTP Method.
38 IsStatic() bool
39 // StaticPath returns the static part of the original, registered route path.
40 // if /user/{id} it will return /user
41 // if /user/{id}/friend/{friendid:uint64} it will return /user too

Callers 2

WithSitemapFunction · 0.65
BuildRouterMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected