Hacker GitHub

← All repos

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

Mentions per year 12 mentions · busiest year 2014 (3)
20082026
  1. …... 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
  2. …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++
  3. …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
  4. …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
  5. …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…
  6. …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
  7. 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…
  8. 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
  9. 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
  10. …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
  11. …[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
  12. …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