Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compress ¶
type Compress struct { New func() Compressor Encoding string // http Accept-Encoding, Content-Encoding value Vary bool // add Vary: Accept-Encoding Types string // only compress for given types, * for all types MinLength int // skip if Content-Length less than given value }
Compress is the compress middleware
type Compressor ¶
Compressor type
Click to show internal directories.
Click to hide internal directories.