Documentation
¶
Index ¶
Constants ¶
View Source
const (
// ContentType is the content type for MessagePack codec.
ContentType = "application/vnd.msgpack"
)
Variables ¶
View Source
var Default = Codec{}
Default is the default MessagePack codec.
Functions ¶
This section is empty.
Types ¶
type Codec ¶
type Codec struct {
// contains filtered or unexported fields
}
Codec encodes and decodes runtime values as MessagePack.
func (Codec) ContentType ¶
func (Codec) DecodeWith ¶
func (c Codec) DecodeWith() encoding.DecoderConfigurer
func (Codec) EncodeWith ¶
func (c Codec) EncodeWith() encoding.EncoderConfigurer
Click to show internal directories.
Click to hide internal directories.