This package includes a variety of add-on components for Martini, a classy web framework for Go:
Install all the packages (go 1.1 and greater is required):
go get github.com/codegangsta/martini-contrib/...
Join the Mailing list
- acceptlang - Handler for parsing the
Accept-Language
HTTP header. - auth - Handlers for authentication.
- binding - Handler for mapping/validating a raw request into a structure.
- encoder - Encoder service for rendering data in several formats and content negotiation.
- gzip - Handler for adding gzip compress to requests
- method - HTTP method overriding via Header or form fields.
- render - Handler that provides a service for easily rendering JSON and HTML templates.
- secure - Implements a few quick security wins.
- sessions - Handler that provides a Session service.
- strip - URL Prefix stripping.
- web - web.go Context compatibility.
Feel free to submit patches or file issues via GitHub. If you have an idea for a handler put up a Pull Request and we will find where it fits best!
If you want to be a maintainer of martini-contrib and get full repo access contact Jeremy Saenz. I will automatically add you as a collaborator if you contribute a package yourself so you can fix bugs without a pull request.