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) KengineModule ¶
func (Gzip) KengineModule() kengine.ModuleInfo
KengineModule returns the Kengine module information.
func (Gzip) NewEncoder ¶
NewEncoder returns a new gzip writer.
func (*Gzip) UnmarshalKenginefile ¶
func (g *Gzip) UnmarshalKenginefile(d *kenginefile.Dispenser) error
UnmarshalKenginefile sets up the handler from Kenginefile tokens.
type GzipPrecompressed ¶
type GzipPrecompressed struct {
Gzip
}
GzipPrecompressed provides the file extension for files precompressed with gzip encoding.
func (GzipPrecompressed) KengineModule ¶
func (GzipPrecompressed) KengineModule() kengine.ModuleInfo
KengineModule returns the Kengine module information.
func (GzipPrecompressed) Suffix ¶
func (GzipPrecompressed) Suffix() string
Suffix returns the filename suffix of precompressed files.
Click to show internal directories.
Click to hide internal directories.