github.com/DATA-DOG/fastroute (go): Package fastroute is static, composable high performance HTTP request router.  A trivial example is:  The router can be composed of fastroute.Router interface, which shares the same http.Handler interface. This package provides only this orthogonal interface as a building block together with path pattern matching in order to construct dynamic routes having named Params available from http.Request at zero allocation cost.  Path parameters can be extracted from request this way:  The registered path, against which the router matches incoming requests, can contain two types of parameters:  Named parameters are dynamic path segments. They match anything until the next '/' or the path end:  Catch-all parameters match anything until the path end, including the directory index (the '/' before the catch-all). Since they match anything until the end, catch-all parameters must always be the final path element.
Keywords: go|golang|http|router