Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Message ¶
type Message interface { // ToBytes is used for serialization. ToBytes() []byte // FromBytes is used for de-serialization. FromBytes(data []byte) (Message, error) }
Message is an interface for all the intra relayer messages in the system. Every message must implement -
ToBytes: Serialization function. FromBytes: De-serialization function.
Click to show internal directories.
Click to hide internal directories.