Registry / networking / rs-xhandler

rs-xhandler

JSON →
library0.0.0-20170707052532-1eb70cf1520dgogounverified

Package xhandler provides a bridge between http.Handler and net/context, enabling per-request deadlines and context cancellation on client disconnect.

go get github.com/rs/xhandler
INSTALL
IMPORT
SIG · RS-XHANDLER
R
rs-xhandler
networkinggov0.0.0-20170707052532-1eb70cf1520d
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

xhandler
github.com/rs/xhandler

Wrap an http.Handler with context support

import "github.com/rs/xhandler" func main() { handler := xhandler.New(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {})) _ = handler }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20170707052532-1eb70cf1520dlatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Amazon
1
OpenAI (training)
1
Resources
rs-xhandler — go get rs-xhandler · libregistry