package
Version:
v0.0.0-...-156df2f
Opens a new window with list of versions in this module.
Published: Nov 30, 2013
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
gzip
Gzip middleware for Martini.
API Reference
Usage
import (
"github.com/codegangsta/martini"
"github.com/codegangsta/martini-contrib/gzip"
)
func main() {
m := martini.Classic()
// authenticate every request
m.Use(gzip.All())
m.Run()
}
Authors
Documentation
¶
All returns a Handler that adds gzip compression to all requests
Source Files
¶
Click to show internal directories.
Click to hide internal directories.