Registry / web-framework / gorilla-handlers

gorilla-handlers

JSON →
library1.5.2gogounverified

Package handlers is a collection of HTTP middleware for use with Go's net/http package.

go get github.com/gorilla/handlers
INSTALL
IMPORT
SIG · GORILLA-HANDLERS
G
gorilla-handlers
web-frameworkgov1.5.2
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.

handlers
github.com/gorilla/handlers

Wraps a handler with logging middleware.

package main import ( "net/http" "github.com/gorilla/handlers" ) func main() { finalHandler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { w.Write([]byte("Hello, World!")) }) http.ListenAndServe(":8080", handlers.LoggingHandler(nil, finalHandler)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.5.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
gorilla-handlers — go get gorilla-handlers · libregistry