Documentation ¶
Index ¶
- func AddDecoder(format string, decfunc DecoderFunc)
- func AddEncoder(format string, encfunc EncoderFunc)
- type Decoder
- type DecoderFunc
- type Encoder
- type EncoderFunc
- type MediaType
- func (m *MediaType) Decode(v interface{}, body io.Reader) error
- func (m *MediaType) Decoder(body io.Reader) (Decoder, error)
- func (m *MediaType) Encode(v interface{}) (*bytes.Buffer, error)
- func (m *MediaType) Encoder(w io.Writer) (Encoder, error)
- func (m *MediaType) IsVendor() bool
- func (m *MediaType) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDecoder ¶
func AddDecoder(format string, decfunc DecoderFunc)
func AddEncoder ¶
func AddEncoder(format string, encfunc EncoderFunc)
Types ¶
type DecoderFunc ¶
type EncoderFunc ¶
Click to show internal directories.
Click to hide internal directories.