Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Brotli ¶
type Brotli struct {
Level int `json:"level,omitempty"`
}
Brotli can create brotli encoders.
func (Brotli) AcceptEncoding ¶
AcceptEncoding returns the name of the encoding as used in the Accept-Encoding request headers.
func (Brotli) CaddyModule ¶
func (Brotli) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (Brotli) NewEncoder ¶
NewEncoder returns a new brotli writer.
func (*Brotli) UnmarshalCaddyfile ¶
UnmarshalCaddyfile sets up the encoder from Caddyfile tokens.
Click to show internal directories.
Click to hide internal directories.