Skip to content

neko-contrib/gzip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#gzip wercker status GoDoc

Gzip middleware for Neko

Usage

package main
import (
  "github.com/rocwong/neko"
  "github.com/neko-contrib/gzip"
)

func main() {
  m := neko.New()
  m.Use(gzip.Gzip(gzip.DefaultCompression))
  m.Run(":3000")
}

Make sure to include the Gzip middleware above other middleware that alter the response body (like the render middleware).

Authors

About

Neko handler for adding gzip compress to requests

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages