martini-contrib

module
v0.0.0-...-c354ab8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2014 License: MIT

README

Contributed Martini Handlers and Utilities wercker status

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

Available Components

  • 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.
  • method - HTTP method overriding via Header or form fields.
  • secure - Implements a few quick security wins.

Contributing

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!

Be a Collaborator

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.

Directories

Path Synopsis
Package acceptlang provides a Martini handler and primitives to parse the Accept-Language HTTP header values.
Package acceptlang provides a Martini handler and primitives to parse the Accept-Language HTTP header values.
Package binding transforms, with validation, a raw request into a populated structure used by your application logic.
Package binding transforms, with validation, a raw request into a populated structure used by your application logic.
package method implements http method override using the X-HTTP-Method-Override http header.
package method implements http method override using the X-HTTP-Method-Override http header.
Package render is a middleware for Martini that provides easy JSON serialization and HTML template rendering.
Package render is a middleware for Martini that provides easy JSON serialization and HTML template rendering.
Package secure is a middleware for Martini that helps enable some quick security wins.
Package secure is a middleware for Martini that helps enable some quick security wins.
Package sessions contains middleware for easy session management in Martini.
Package sessions contains middleware for easy session management in Martini.
packcage strip provides the same functionality as http.StripPrefix and can be used in martini instance level and request context level.
packcage strip provides the same functionality as http.StripPrefix and can be used in martini instance level and request context level.
Package web provides a web.go compitable layer for reusing the code written with hoisie's `web.go` framework.
Package web provides a web.go compitable layer for reusing the code written with hoisie's `web.go` framework.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL