Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompressBody ¶
func CompressBody(body []byte, encoding SupportedCompression) ([]byte, error)
func DecompressResponse ¶
Types ¶
type SupportedCompression ¶
type SupportedCompression string
const ( Gzip SupportedCompression = "gzip" Deflate SupportedCompression = "deflate" Brotli SupportedCompression = "br" )
Click to show internal directories.
Click to hide internal directories.