Documentation ¶
Index ¶
Constants ¶
View Source
const ErrInvContentType = "invalid Content-Type"
ErrInvContentType is a error
View Source
const ErrNoContentType = "no Content-Type found in header"
ErrNoContentType is a error
Variables ¶
This section is empty.
Functions ¶
func Compress ¶
func Compress(f http.HandlerFunc) http.HandlerFunc
Compress midleware, compres the data by the request of the user.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.