Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnexpectedCodecVersion = errors.New("unexpected codec version")
)
Functions ¶
Types ¶
type Message ¶
type Message interface { // Handle this message with the correct message handler Handle(handler Handler, nodeID ids.NodeID, requestID uint32) error // Bytes returns the binary representation of this message // // Bytes should only be called after being initialized Bytes() []byte // contains filtered or unexported methods }
type NoopHandler ¶
Click to show internal directories.
Click to hide internal directories.