Registry / web-framework / codegangsta-negroni

codegangsta-negroni

JSON →
library1.0.0gogounverified

Package negroni is an idiomatic approach to web middleware in Go.

go get github.com/codegangsta/negroni
INSTALL
IMPORT
SIG · CODEGANGSTA-NEGRON
C
codegangsta-negroni
web-frameworkgov1.0.0
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.

negroni
github.com/codegangsta/negroni

Sets up a Negroni middleware stack with default middleware and serves a simple handler.

package main import ( "net/http" "github.com/codegangsta/negroni" ) func main() { mux := http.NewServeMux() mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { w.Write([]byte("Hello World")) }) n := negroni.Classic() n.UseHandler(mux) n.Run(":3000") }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
OpenAI (training)
1
Resources
codegangsta-negroni — go get codegangsta-negroni · libregistry