package middleware
import "github.com/go-playground/pure/v5/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
- v5.2.0
- Published
- Nov 19, 2020
- Platform
- linux/amd64
- Imports
- 10 packages
- Last checked
- 52 minutes ago –
Tools for package owners.