Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
func Middleware(fn httprouter.Handle, force bool) httprouter.Handle
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.