Documentation ¶
Index ¶
- type GzipResponseWriter
- func NewGzipResponseWriter(w http.ResponseWriter, r *http.Request) *GzipResponseWriter
- func NewGzipResponseWriterLevel(w http.ResponseWriter, r *http.Request, level int) *GzipResponseWriter
- func NewGzipResponseWriterLevelFile(w http.ResponseWriter, r *http.Request, level int, file *os.File) *GzipResponseWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GzipResponseWriter ¶
type GzipResponseWriter struct { http.ResponseWriter // contains filtered or unexported fields }
func NewGzipResponseWriter ¶
func NewGzipResponseWriter(w http.ResponseWriter, r *http.Request) *GzipResponseWriter
func NewGzipResponseWriterLevel ¶
func NewGzipResponseWriterLevel(w http.ResponseWriter, r *http.Request, level int) *GzipResponseWriter
func NewGzipResponseWriterLevelFile ¶
func NewGzipResponseWriterLevelFile(w http.ResponseWriter, r *http.Request, level int, file *os.File) *GzipResponseWriter
func (*GzipResponseWriter) Close ¶
func (gw *GzipResponseWriter) Close() error
GzipResponseWriter must be manually closed!
func (*GzipResponseWriter) RawSize ¶
func (gw *GzipResponseWriter) RawSize() int64
Click to show internal directories.
Click to hide internal directories.