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

github.com/rs/xhandler

Package xhandler provides a bridge between http.Handler and net/context. xhandler enforces net/context in your handlers without sacrificing compatibility with existing http.Handlers nor imposing a specific router. Thanks to net/context deadline management, xhandler is able to enforce a per request deadline and will cancel the context in when the client close the connection unexpectedly. You may create net/context aware middlewares pretty much the same way as you would with http.Handler.

Ecosystem
proxy.golang.org
Latest Release
v0.0.0-20170707052532-1eb70cf1520d
over 8 years ago
Versions
1
Dependent Packages
879
Dependent Repos
3,397
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/rs/xhandler
spec
License MIT
Namespace github.com/rs
First Release over 8 years ago
Last Synced 22 days ago
Repository
Stars 231 on GitHub
Forks 12 on GitHub
Docker Dependents 26
Docker Downloads 163,819
Rankings on proxy.golang.org
Overall Top 2.1%
Dependent packages Top 0.1%
Dependent repos Top 0.1%
Forks Top 6.0%
Docker downloads Top 0.7%