Documentation ¶
Index ¶
Constants ¶
View Source
const ( MARSHALED_PACKET_HEADER = 0x01 MARSHALED_PACKET_HEADER_START = 0 MARSHALED_PACKET_HEADER_SIZE = 1 MARSHALED_PACKET_HEADER_END = MARSHALED_PACKET_HEADER_START + MARSHALED_PACKET_HEADER_SIZE MARSHALED_ID_START = MARSHALED_PACKET_HEADER_END MARSHALED_ID_SIZE = sha256.Size MARSHALED_ID_END = MARSHALED_ID_START + MARSHALED_ID_SIZE MARSHALED_TOTAL_SIZE = MARSHALED_ID_END )
Variables ¶
View Source
var (
ErrMalformedAddNodePacket = errors.New("malformed add node packet")
)
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.