Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GzipMiddleware ¶
Compresses HTTP responses for clients that support it.
Types ¶
type GzipResponseWriter ¶
type GzipResponseWriter struct { http.ResponseWriter Writer *gzip.Writer }
GzipResponseWriter is a custom http.ResponseWriter that compresses responses with GZip.
Click to show internal directories.
Click to hide internal directories.