Registry / web-framework / streadway-handy

streadway-handy

JSON →
library0.0.0-20200128134331-0f66f006fb2egogounverified

Handy provides reusable HTTP server handler filters and middleware for Go.

go get github.com/streadway/handy
INSTALL
IMPORT
SIG · STREADWAY-HANDY
S
streadway-handy
web-frameworkgov0.0.0-20200128134331-0f66f006fb2e
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.

handy
github.com/streadway/handy

Wraps an HTTP handler with logging middleware.

package main import ( "net/http" "github.com/streadway/handy" ) func main() { handler := handy.Logging(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { w.Write([]byte("Hello")) })) http.ListenAndServe(":8080", handler) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20200128134331-0f66f006fb2elatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
streadway-handy — go get streadway-handy · libregistry