Documentation
¶
Overview ¶
Package compress compresses responses for clients that accept gzip.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(configs ...Config) zinc.Middleware
New compresses responses for clients that accept gzip and preserves the optional ResponseWriter interfaces used by streaming and connection upgrades.
Types ¶
Click to show internal directories.
Click to hide internal directories.