Documentation ¶
Index ¶
- type DefaultProtocol
- func (Protocol *DefaultProtocol) Decode(message []byte) (version byte, messageType int, protoType int, route []byte, body []byte)
- func (Protocol *DefaultProtocol) Encode(route []byte, body []byte, messageType int, protoType int) []byte
- func (Protocol *DefaultProtocol) Reader() func(n int, buf []byte) ([]byte, error)
- type Protocol
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.