Documentation ¶
Overview ¶
Package encoding 处理 Accept-encoding 报头内容
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encodings ¶
type Encodings struct {
// contains filtered or unexported fields
}
func NewEncodings ¶
type NewEncodingFunc ¶
type NewEncodingFunc func() WriteCloseRester
func CompressWriter ¶
func CompressWriter(order lzw.Order, width int) NewEncodingFunc
CompressWriter compress
func ZstdWriter ¶ added in v0.59.0
func ZstdWriter(o ...zstd.EOption) NewEncodingFunc
ZstdWriter zstd
type WriteCloseRester ¶
type WriteCloseRester interface { io.WriteCloser Reset(io.Writer) }
WriteCloseRester 每种压缩实例需要实现的最小接口
Click to show internal directories.
Click to hide internal directories.