mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-01-15 08:00:36 -05:00
The existing cty packages were already at the latest version, but we were
not yet vendoring the msgpack package.
This also imports some dependencies from:
github.com/vmihailenco/msgpack
18 lines
274 B
Go
18 lines
274 B
Go
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
|
|
}
|