Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResponseWriter ¶
type ResponseWriter struct {
http.ResponseWriter
Status int
Body []byte
Headers http.Header
// contains filtered or unexported fields
}
func Wrap ¶
func Wrap(w http.ResponseWriter) *ResponseWriter
func (*ResponseWriter) Flush ¶
func (rw *ResponseWriter) Flush()
func (*ResponseWriter) Hijack ¶ added in v0.0.3
func (rw *ResponseWriter) Hijack() (net.Conn, *bufio.ReadWriter, error)
Hijack flushes any started response before passing control of the connection to the underlying ResponseWriter.
Click to show internal directories.
Click to hide internal directories.