HasPathParameter configures a path parameter for the route.
(name string, p PathParam)
| 275 | |
| 276 | // HasPathParameter configures a path parameter for the route. |
| 277 | func (rm *Route) HasPathParameter(name string, p PathParam) *Route { |
| 278 | rm.Params.Path[name] = p |
| 279 | return rm |
| 280 | } |
| 281 | |
| 282 | // HasQueryParameter configures a query parameter for the route. |
| 283 | func (rm *Route) HasQueryParameter(name string, q QueryParam) *Route { |
no outgoing calls