Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
func Middleware(fn http.HandlerFunc, force bool) http.HandlerFunc
Middleware force - bool, whether or not to force Compression regardless of the sent headers.
Types ¶
type CompressResponseWriter ¶
type CompressResponseWriter struct { io.Writer http.ResponseWriter }
CompressResponseWriter is a Struct for manipulating io writer
Click to show internal directories.
Click to hide internal directories.