Path registers a new route with a matcher for the URL path. See Route.Path().
(tpl string)
| 329 | // Path registers a new route with a matcher for the URL path. |
| 330 | // See Route.Path(). |
| 331 | func (r *Router) Path(tpl string) *Route { |
| 332 | return r.NewRoute().Path(tpl) |
| 333 | } |
| 334 | |
| 335 | // PathPrefix registers a new route with a matcher for the URL path prefix. |
| 336 | // See Route.PathPrefix(). |