{"id":50919,"library":"urfave-negroni","title":"Negroni","description":"An idiomatic approach to web middleware in Go, encouraging use of net/http Handlers.","status":"active","version":"1.0.0","language":"go","source_language":null,"source_url":"https://github.com/urfave/negroni","tags":["middleware","web","http","negroni"],"install":[{"cmd":"go get github.com/urfave/negroni","lang":"bash","label":"Install github.com/urfave/negroni"}],"dependencies":[],"imports":[{"symbol":"negroni","correct":"github.com/urfave/negroni"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"github.com/urfave/negroni\"\n)\n\nfunc main() {\n\tmux := http.NewServeMux()\n\tmux.HandleFunc(\"/\", func(w http.ResponseWriter, r *http.Request) {\n\t\tfmt.Fprintf(w, \"Hello World\")\n\t})\n\n\tn := negroni.Classic()\n\tn.UseHandler(mux)\n\tn.Run(\":3000\")\n}","lang":"go","description":"Create a classic Negroni server with default middleware."},"warnings":[],"env_vars":null,"search_vec":"'approach':4 'encourag':10 'go':9 'handler':14 'http':17 'idiomat':3 'middlewar':7,15 'negroni':1,18 'net/http':13 'use':11 'web':6,16","created_at":"2026-06-15T05:13:50.752459+00:00","updated_at":"2026-06-15T05:13:50.752459+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/urfave/negroni","github":"https://github.com/urfave/negroni","docs":"https://pkg.go.dev/github.com/urfave/negroni#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}