Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Zstd ¶
type Zstd struct{}
Zstd can create Zstandard encoders.
func (Zstd) AcceptEncoding ¶
AcceptEncoding returns the name of the encoding as used in the Accept-Encoding request headers.
func (Zstd) CaddyModule ¶
func (Zstd) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (Zstd) NewEncoder ¶
NewEncoder returns a new Zstandard writer.
type ZstdPrecompressed ¶
type ZstdPrecompressed struct {
Zstd
}
ZstdPrecompressed provides the file extension for files precompressed with zstandard encoding.
func (ZstdPrecompressed) CaddyModule ¶
func (ZstdPrecompressed) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (ZstdPrecompressed) Suffix ¶
func (ZstdPrecompressed) Suffix() string
Suffix returns the filename suffix of precompressed files.
Click to show internal directories.
Click to hide internal directories.