MCPcopy
hub / github.com/labstack/echo / SetPathValues

Method SetPathValues

context.go:305–310  ·  view source on GitHub ↗

SetPathValues sets path parameters for current request.

(pathValues PathValues)

Source from the content-addressed store, hash-verified

303
304// SetPathValues sets path parameters for current request.
305func (c *Context) SetPathValues(pathValues PathValues) {
306 if pathValues == nil {
307 panic("context SetPathValues called with nil PathValues")
308 }
309 c.setPathValues(&pathValues)
310}
311
312// InitializeRoute sets the route related variables of this request to the context.
313func (c *Context) InitializeRoute(ri *RouteInfo, pathValues *PathValues) {

Calls 1

setPathValuesMethod · 0.95