Merge pull request #358 from rs/patch-1

Add CORS and XFF middlewares
checkGoreportcard
Duke 9 years ago
commit 93a7580e2d

@ -57,6 +57,8 @@ Join us on IRC at **#awesome-go** on freenode [web access](http://webchat.freeno
- [Video](#video)
- [Web Frameworks](#web-frameworks)
- [Middlewares](#middlewares)
- [Actual middlewares](#actual-middlewares)
- [Libraries for creating HTTP middlewares](#libraries-for-creating-http-middlewares)
- [Windows](#windows)
- [Tools](#tools)
@ -733,7 +735,13 @@ Join us on IRC at **#awesome-go** on freenode [web access](http://webchat.freeno
### Middlewares
*Libraries for creating HTTP middlewares.*
#### Actual middlewares
* [CORS](https://github.com/rs/cors) - Easily add CORS capabilities to your API
* [formjson](https://github.com/rs/formjson) - Transparently handle JSON input as a standard form POST
* [XFF](https://github.com/sebest/xff) - Handle `X-Forwarded-For` header and friends
#### Libraries for creating HTTP middlewares
* [alice](https://github.com/justinas/alice) - Painless middleware chaining for Go.
* [go-wrap](https://github.com/go-on/wrap) - Small middlewares package for net/http.
@ -743,9 +751,6 @@ Join us on IRC at **#awesome-go** on freenode [web access](http://webchat.freeno
* [render](https://github.com/unrolled/render) - Go package for easily rendering JSON, XML, and HTML template responses.
* [stats](https://github.com/thoas/stats) - A Go middleware that stores various information about your web application.
# Tools
Go software and plugins.

Loading…
Cancel
Save