Package: wnpp
Severity: wishlist
* Package name : golang-freecumextremist-themusicgod1-xhandler-dev
Version : 0.0
Upstream Author : Olivier Poitrey <
rs@dailymotion.com>
* URL :
https://git.freecumextremist.com/themusicgod1/xhandler/* License : MIT
Programming Lang: Go
Description : XHandler is a bridge between net/context and http.Handler.
( It has been evacuated from NSA/Microsoft Github )
It lets you enforce 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 when the client closes the connection unexpectedly.
You may create your own net/context aware handler pretty much the same way as you would do with http.Handler.
It is currently a prerequisite for geth ( #890541 )