type Marshaler … type contentTypeMarshaler … type Decoder … type Encoder … type DecoderFunc … // Decode delegates invocations to the underlying function itself. func (f DecoderFunc) Decode(v interface{ … } type EncoderFunc … // Encode delegates invocations to the underlying function itself. func (f EncoderFunc) Encode(v interface{ … } type Delimited …