Documentation ¶
Index ¶
Constants ¶
View Source
const ( BrotliBestCompression = brotli.BestCompression BrotliBestSpeed = brotli.BestSpeed )
View Source
const ( GzipBestCompression = gzip.BestCompression GzipBestSpeed = gzip.BestSpeed )
View Source
const ( ZlibBestCompression = zlib.BestCompression ZlibBestSpeed = zlib.BestSpeed )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Brotli ¶
type Brotli struct {
// contains filtered or unexported fields
}
Brotli is brotli typed (http encoding type "br") Compressor.
type Compressor ¶
Compressor is the interface that wraps the Compress method.
type Gzip ¶
type Gzip struct {
// contains filtered or unexported fields
}
Gzip is gzip typed (http encoding type "gzip") Compressor.
Click to show internal directories.
Click to hide internal directories.