Documentation ¶
Index ¶
- func GZIP(handler http.Handler) http.Handler
- type WrappedResponseWriter
- func (wrw *WrappedResponseWriter) Flush()
- func (wrw *WrappedResponseWriter) Header() http.Header
- func (wrw *WrappedResponseWriter) Hijack() (net.Conn, *bufio.ReadWriter, error)
- func (wrw *WrappedResponseWriter) Write(d []byte) (int, error)
- func (wrw *WrappedResponseWriter) WriteHeader(statuscode int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type WrappedResponseWriter ¶
type WrappedResponseWriter struct {
// contains filtered or unexported fields
}
func NewWrappedResponseWriter ¶
func NewWrappedResponseWriter(w http.ResponseWriter) *WrappedResponseWriter
func (*WrappedResponseWriter) Flush ¶
func (wrw *WrappedResponseWriter) Flush()
func (*WrappedResponseWriter) Header ¶
func (wrw *WrappedResponseWriter) Header() http.Header
func (*WrappedResponseWriter) Hijack ¶
func (wrw *WrappedResponseWriter) Hijack() (net.Conn, *bufio.ReadWriter, error)
func (*WrappedResponseWriter) Write ¶
func (wrw *WrappedResponseWriter) Write(d []byte) (int, error)
func (*WrappedResponseWriter) WriteHeader ¶
func (wrw *WrappedResponseWriter) WriteHeader(statuscode int)
Click to show internal directories.
Click to hide internal directories.