urfave/negroni
View on GitHub ↗ ★ 7,528 Go
Idiomatic HTTP Middleware for Golang
12 mentions on Hacker News by 11 people: 0 stories, 12 comments · first 2014-09-02 · latest 2018-07-14
20082026
-
…... Gets me easy route params and HTTP method filtering. Negroni for middleware: https://github.com/urfave/negroni ... Super easy to roll your own, plus there's a bunch of random off-the-shelf middlewares that people have put together (see
comment by ereyes01 · 2018-07-14 · in Ask HN: What is the current state of web frameworks in Golang? -
…panicking (possibly even caused by a call to a third party lib such as described by kibwen) [0]: https://github.com/urfave/negroni/blob/master/recovery.go#L1...
comment by lloeki · 2017-10-22 · in Implementing Go's defer keyword in C++ -
…and Vestigo for routing. Both are simple , fast and elegant, and are being actively developed. [0] https://github.com/urfave/negroni [1] https://github.com/husobee/vestigo
comment by petepete · 2017-09-07 · in Ask HN: What Go framework for web API are you using in production? -
…is very simple to write. The net/http package is very powerfull, but still has a lean api. I do use https://github.com/urfave/negroni for routing. But otherwise i just use the http package.
comment by TeeWEE · 2017-01-13 · in Buffalo – MVC Web Framework for Go -
…learning Go, Negroni was where I left off and felt like what you may be looking for as a next step: https://github.com/urfave/negroni (I"m sure someone more experienced can provide more context or other / better links -- thought this would…
comment by cloverich · 2016-12-05 · in Mux – A lightweight, fast HTTP request router for Go -
…for defining templated routes: https://github.com/gorilla/mux - Negroni for HTTP route Middlewares: https://github.com/codegangsta/negroni For testing HTTP server-side Go applications, the httptest package is quite helpful:…
comment by ereyes01 · 2016-05-02 · in Go best practices, six years in -
Also Maracon ( https://github.com/Unknwon/macaron ), Negroni ( https://github.com/codegangsta/negroni ), and Goji ( https://github.com/zenazn/goji ). Negroni is from the creator of Martini, Goji is apparently high in antioxidants, but I'm…
comment by mattmc · 2015-06-16 · in A Comparison of Go Web Frameworks (2014) -
I believe that Negroni is considered a library rather than a framework. https://github.com/codegangsta/negroni#is-negroni-a-framewor... But I don't know why that would preclude it from these benchmarks because httprouter is not a full…
comment by rlbaker · 2015-02-05 · in Golang web frameworks benchmark -
Checkout Negroni [1] for middleware configuration combined with restgate [2] [1] https://github.com/codegangsta/negroni [2] https://github.com/pjebs/restgate
comment by mrKlin · 2015-01-29 · in From Node.js to Go -
…without hitting your first interface{} Negroni, a popular and self-appointedly idiomatic library: https://github.com/codegangsta/negroni/blob/master/negroni_t... func expect(t *testing.T, a interface{}, b interface{}) func refute(t…
comment by Jare · 2014-10-19 · in Avoiding Complexity with Go -
…[2] http://codecondo.com/4-minimal-web-frameworks-go-golang/ [3] https://github.com/codegangsta/negroni
comment by ansible · 2014-09-25 · in From Ruby to Go: a rewrite for the future -
…a JSON API that a Flask app (or something similar) consumes. 1. https://github.com/flosch/pongo2 2. https://github.com/codegangsta/negroni 3. http://www.gorillatoolkit.org/
comment by aaron-lebo · 2014-09-02 · in Django 1.7 Released