gzip

Golang gzip middleware for Gin and net/http | Golang gzip中间件,支持Gin和net/http,开箱即用同时可定制

MIT License

Stars
145

Bot releases are hidden (Show)

gzip - v1.2.0 Latest Release

Published by nanmu42 about 3 years ago

v1.2.0 is a bug fix release:

  • fix: Do not change response code after 204 and 304 (#5)

Thanks to @hstoychev-cb for the wonderful contribution.

gzip - v1.1.0

Published by nanmu42 almost 4 years ago

  • refactor: switch gzip implmentation from official gzip to github.com/klauspost/compress(#3, thanks to @klauspost)
  • vendor: bump dependency version
  • doc: acknoledgement and performance correction
  • refactor: simplify writerWrapper.enoughContentLength()
gzip - v1.0.0

Published by nanmu42 over 4 years ago

All APIs are finalized, and no breaking changes will be made in the 1.x series of releases.

Package Rankings
Top 3.17% on Proxy.golang.org
Badges
Extracted from project README
GoDoc Build status codecov Lint status Go Report Card