Versions in this module Expand all Collapse all v0 v0.1.0 Jul 27, 2018 Changes in this version + type Dump struct + func New(ed EncoderDecoder) *Dump + func (d *Dump) Decode(buf []byte) (*http.Response, error) + func (d *Dump) Encode(res *http.Response) ([]byte, error) + type EncoderDecoder interface + Decode func([]byte) (*Response, error) + Encode func(*Response) ([]byte, error) + type Response struct + Body string + ContentLength int64 + Header http.Header + ProtoMajor int + ProtoMinor int + Status string + StatusCode int + Trailer http.Header + TransferEncoding []string + Uncompressed bool