Versions in this module Expand all Collapse all v1 v1.0.1 Jul 23, 2015 Changes in this version + type Buffer struct + Buffer bytes.Buffer + Code int + func NewBuffer(w http.ResponseWriter) (bf *Buffer) + func (bf *Buffer) Body() []byte + func (bf *Buffer) BodyString() string + func (bf *Buffer) FlushAll() + func (bf *Buffer) FlushCode() + func (bf *Buffer) FlushHeaders() + func (bf *Buffer) HasChanged() bool + func (bf *Buffer) Header() http.Header + func (bf *Buffer) IsOk() bool + func (bf *Buffer) Reset() + func (bf *Buffer) Write(b []byte) (int, error) + func (bf *Buffer) WriteHeader(i int) + type Deflate struct + func NewDeflate(rw http.ResponseWriter, level int) *Deflate + func (w *Deflate) Write(b []byte) (int, error) + type ErrBodyFlushedBeforeCode struct + func (e ErrBodyFlushedBeforeCode) Error() string + type ErrCodeFlushedBeforeHeaders struct + func (e ErrCodeFlushedBeforeHeaders) Error() string + type EscapeHTML struct + func NewEscapeHTML(w http.ResponseWriter) *EscapeHTML + func (e *EscapeHTML) Write(b []byte) (num int, err error) + type GZip struct + func NewGZIP(rw http.ResponseWriter) *GZip + func (w *GZip) Write(b []byte) (int, error) + type JSONDecoder struct + Code int + func NewJSONDecoder(w http.ResponseWriter) (dec *JSONDecoder) + func (d *JSONDecoder) Decode(target interface{}) error + func (d *JSONDecoder) FlushCode() + func (d *JSONDecoder) FlushHeaders() + func (d *JSONDecoder) HasChanged() bool + func (d *JSONDecoder) Header() http.Header + func (d *JSONDecoder) Write(b []byte) (int, error) + func (d *JSONDecoder) WriteHeader(i int) + type PanicCodes struct + Codes []int + func NewPanicCodes(w http.ResponseWriter, codes ...int) *PanicCodes + func (p *PanicCodes) WriteHeader(code int) + type Peek struct + Code int + func NewPeek(rw http.ResponseWriter, proceed func(*Peek) bool) *Peek + func (p *Peek) FlushCode() + func (p *Peek) FlushHeaders() + func (p *Peek) FlushMissing() + func (p *Peek) HasChanged() bool + func (p *Peek) Header() http.Header + func (p *Peek) IsOk() bool + func (p *Peek) Reset() + func (p *Peek) Write(b []byte) (int, error) + func (p *Peek) WriteHeader(i int) Incompatible versions in this module v6.0.2+incompatible Jul 24, 2015 v6.0.1+incompatible Jul 24, 2015 v3.0.2+incompatible Jul 23, 2015 v3.0.1+incompatible Jul 23, 2015