Versions in this module Expand all Collapse all v0 v0.3.2 Jul 24, 2019 Changes in this version + type Codec interface + var Binary Codec = codecBinary{} + var FormURLEncoded Codec = codecFormURLEncoded{} + var JSON Codec = codecJSON{} + var Plain Codec = codecPlain{} + func ZLIB(codec Codec) Codec + type Decoder interface + Accept func() string + Decode func(r io.Reader, v interface{}) error + Unmarshal func(data []byte, v interface{}) error + type Encoder interface + ContentType func() string + Encode func(w io.Writer, v interface{}) error + Marshal func(v interface{}) ([]byte, error)