Versions in this module Expand all Collapse all v2 v2.0.1 Nov 4, 2019 v2.0.0 Nov 4, 2019 Changes in this version + const X_FORWARDED_HOST_HEADER_KEY + var GzipCompressableTypes = []string + func NewGzipHandler(h http.Handler) http.Handler + func ReadCookieValue(h http.Header, cookieName string) (string, bool) + type ForwardedHostHandler struct + Next http.Handler + func NewForwardedHostHandler(next http.Handler) *ForwardedHostHandler + func (p *ForwardedHostHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type GzipResponseWriter struct + func NewGzipResponseWriter(w http.ResponseWriter) *GzipResponseWriter + func (grw *GzipResponseWriter) Close() + func (grw *GzipResponseWriter) Write(b []byte) (int, error) + func (grw *GzipResponseWriter) WriteHeader(code int) Other modules containing this package github.com/tarent/lib-compose