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

Top 4.4% on proxy.golang.org
Top 3.4% dependent packages on proxy.golang.org
Top 1.7% dependent repos on proxy.golang.org
Top 6.8% forks on proxy.golang.org

proxy.golang.org : github.com/mailgun/route

package route provides http package-compatible routing library. It can route http requests by hostname, method, path and headers. Route defines simple language for matching requests based on Go syntax. Route provides series of matchers that follow the syntax: Host matcher: Path matcher: Method matcher: Header matcher: Matchers can be combined using && operator: Route library will join the trie-based matchers into one trie matcher when possible, for example: Will be combined into one trie for performance. If you add a third route: It wont be joined ito the trie, and would be matched separatedly instead.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/mailgun/route
License: Apache-2.0
Latest release: about 2 years ago
First release: over 2 years ago
Namespace: github.com/mailgun
Dependent packages: 3
Dependent repositories: 10
Stars: 58 on GitHub
Forks: 9 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 12 days ago

    Loading...
    Readme
    Loading...