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

Top 7.8% on proxy.golang.org
Top 7.0% forks on proxy.golang.org

proxy.golang.org : github.com/aperturerobotics/pathrouter

Package pathrouter is a trie based high performance path request router. The router matches incoming requests by the request path. If a handle is registered for the path, it is called with the path params. 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. The value of parameters is saved as a slice of the Param struct, consisting each of a key and a value. The slice is passed to the Handle func as a third parameter. There are two ways to retrieve the value of a parameter:

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/aperturerobotics/pathrouter
License: BSD-3-Clause
Latest release: over 2 years ago
First release: over 2 years ago
Namespace: github.com/aperturerobotics
Stars: 4 on GitHub
Forks: 1 on GitHub
Total Commits: 271
Committers: 50
Average commits per author: 5.42
Development Distribution Score (DDS): 0.613
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: 24 days ago

    Loading...
    Readme
    Loading...