mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-04 13:17:43 -06:00
b1247bf7af
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
|
|
}
|