Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Marshallable ¶ added in v0.4.1
Marshallable is the interface for marshallable messages.
type Marshaller ¶ added in v0.4.1
type Marshaller interface {
Marshal(msg Marshallable, buf []byte) (uint64, uint64, error)
Unmarshal(id uint64, buf []byte) (any, uint64, error)
}
Marshaller is the interface implemented by marshallers.
type Message ¶ added in v0.4.0
type Message interface {
Marshallable
Size() uint64
}
Message is the interface implemented by messages.
Click to show internal directories.
Click to hide internal directories.