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