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

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/lufia/router

Package router provides a simple yet powerful URL router and HandlerFunc dispatcher for web apps. Ideas considered (heavily borrowing from express/connect): Basic usage More advanced usage This will log for each request. On "/user/:userid/hello" matching paths, it loads a user and saves it to the requestContext store and handleUser generates the response. Note all handlers are regular http.HandlerFunc and use a `Context` to hand over control and data to the next HandlerFunc.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/lufia/router
License: MIT
Latest release: about 7 years ago
First release: about 7 years ago
Namespace: github.com/lufia
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 27 days ago

    Loading...
    Readme
    Loading...