github.com/cnotch/apirouter (go): Package apirouter provides a lightning fast RESTful api router.  A trivial example is:  The registered pattern, against which the router matches incoming requests, can contain three types of parameters(default style):  Matching priority, on the example below the router will test the routes in the following order, /users/list then /users/:id=^\d+$ then /users/:id then /users/*page.  Named parameters are dynamic path segments. They match anything until the next '/' or the path end:  If a parameter must match an exact pattern (digits only, for example), you can also set a regular expression constraint just after the parameter name and `=`.  Wildcard parameters match anything until the path end, not including the directory index (the '/' before the '*'). Since they match anything until the end, wildcard parameters must always be the final path element.  The value of parameters is saved as a Params. The Params is passed to the Handler func as a third parameter. If the handler is registered with Handle or HandleFunc, params is stored in request's context.  Example:
Keywords: api|restful|router