PathPrefix registers a new route with a matcher for the URL path prefix. See Route.PathPrefix().
(tpl string)
| 335 | // PathPrefix registers a new route with a matcher for the URL path prefix. |
| 336 | // See Route.PathPrefix(). |
| 337 | func (r *Router) PathPrefix(tpl string) *Route { |
| 338 | return r.NewRoute().PathPrefix(tpl) |
| 339 | } |
| 340 | |
| 341 | // Queries registers a new route with a matcher for URL query values. |
| 342 | // See Route.Queries(). |