package middleware
import "github.com/go-playground/pure/middleware"
Index ¶
Functions ¶
func Gzip ¶
func Gzip(next http.HandlerFunc) http.HandlerFunc
Gzip returns a middleware which compresses HTTP response using gzip compression scheme.
func GzipLevel ¶
func GzipLevel(level int) pure.Middleware
GzipLevel returns a middleware which compresses HTTP response using gzip compression scheme using the level specified
Source Files ¶
- Version
- v2.0.0+incompatible
- Published
- Sep 26, 2016
- Platform
- windows/amd64
- Imports
- 9 packages
- Last checked
- 9 minutes ago –
Tools for package owners.