var EnableContentEncoding …
type CompressingResponseWriter …
func (c *CompressingResponseWriter) Header() http.Header { … }
func (c *CompressingResponseWriter) WriteHeader(status int) { … }
func (c *CompressingResponseWriter) Write(bytes []byte) (int, error) { … }
func (c *CompressingResponseWriter) CloseNotify() <-chan bool { … }
func (c *CompressingResponseWriter) Close() error { … }
func (c *CompressingResponseWriter) isCompressorClosed() bool { … }
func (c *CompressingResponseWriter) Hijack() (net.Conn, *bufio.ReadWriter, error) { … }
func wantsCompressedResponse(httpRequest *http.Request, httpWriter http.ResponseWriter) (bool, string) { … }
func NewCompressingResponseWriter(httpWriter http.ResponseWriter, encoding string) (*CompressingResponseWriter, error) { … }