mirror of
https://git.uploadfilter24.eu/lerentis/terraform-provider-gitea.git
synced 2024-11-18 07:48:12 +00:00
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
|
||
|
}
|