Documentation
¶
Index ¶
- Constants
- func IsKnownEncoding(contentEncoding string) bool
- func NewChunkedReader(buf *bufio.Reader) io.Reader
- func NewChunkedWriter(writer io.Writer) io.WriteCloser
- func NewReader(isChunked bool, contentEncoding string, bufio *bufio.Reader) (io.ReadCloser, error)
- func NewWriter(contentEncoding string, writer io.Writer) (io.WriteCloser, error)
Constants ¶
View Source
const DefaultAcceptEncoding = specs.ContentEncodingGzip + ", " + specs.ContentEncodingDeflate + ", " + specs.ContentEncodingBrotli
Variables ¶
This section is empty.
Functions ¶
func IsKnownEncoding ¶
func NewChunkedWriter ¶
func NewChunkedWriter(writer io.Writer) io.WriteCloser
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.