Documentation ¶
Overview ¶
Package compress is used to compress and decompress incoming and outgoing http requests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompressMiddleware ¶
CompressMiddleware - the middleware compresses outgoing requests, if compression is supported by the client, also decompresses incoming requests.
func NewGzipReader ¶
func NewGzipReader(r io.ReadCloser) (*gzipReader, error)
NewGzipReader - Object Constructor.
func NewGzipWriter ¶
func NewGzipWriter(w http.ResponseWriter) *gzipWriter
NewGzipWriter - Object Constructor.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.