Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Read ¶
func Read( conn net.Conn, headerBuffer []byte, payloadBuffer []byte, maxHeaderSize int, maxPayloadSize int, ) ( reqType api.RPCType, header []byte, payload []byte, err error, )
Read the rpc request from the connection, If a payload or header buffer is passed, then this buffer will be used if the capacity is sufficient.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.