package
Version:
v0.0.0-...-f683eec
Opens a new window with list of versions in this module.
Published: Feb 24, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
type Codec interface {
Marshal(v interface{}) ([]byte, error)
Unmarshal(data []byte, v interface{}) error
}
Codec use for marshal and unmarshal message
MessageJSONCodec json format codec
ProtobufCodec google protobuf codec
WalleCodec walle proto codec
type Message interface {
MarshalObject() (data []byte, err error)
UnmarshalObject(data []byte) (err error)
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.