open-nomad/vendor/github.com/vmihailenco/msgpack/msgpack.go

18 lines
274 B
Go
Raw Normal View History

2018-08-10 17:50:09 +00:00
package msgpack
type Marshaler interface {
MarshalMsgpack() ([]byte, error)
}
type Unmarshaler interface {
UnmarshalMsgpack([]byte) error
}
type CustomEncoder interface {
EncodeMsgpack(*Encoder) error
}
type CustomDecoder interface {
DecodeMsgpack(*Decoder) error
}