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
- auth - Handlers for authentication.
- binding - Handler for mapping/validating a raw request into a structure.
- gzip - Handler for adding gzip compress to requests
- render - Handler that provides a service for easily rendering JSON and HTML templates.
- acceptlang - Handler for parsing the
Accept-Language
HTTP header. - sessions - Handler that provides a Session service.
- web - web.go Context compatibility.
- strip - URL Prefix stripping.
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.