Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 6.0% on proxy.golang.org
Top 3.5% dependent repos on proxy.golang.org
Top 6.8% forks on proxy.golang.org

proxy.golang.org : github.com/DATA-DOG/fastroute

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.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/%21d%21a%21t%21a-%21d%21o%21g/fastroute
Keywords: go, golang, http, router
License: BSD-3-Clause
Latest release: over 6 years ago
First release: over 6 years ago
Namespace: github.com/DATA-DOG
Dependent repositories: 2
Stars: 135 on GitHub
Forks: 9 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 7 days ago

    Loading...
    Readme
    Loading...