middleware

package
v4.2.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2019 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL