Documentation ¶
Index ¶
Constants ¶
View Source
const IDLength = 16
IDLength of array used to store the ID.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ID ¶
type ID struct {
// contains filtered or unexported fields
}
ID identifies a network connection
func (*ID) Deserialize ¶
Deserialize decodes a block from r into the receiver.
func (*ID) SerializeToBytes ¶
SerializeToBytes serializes the receiver and returns a byte slice of the serialized id.
Click to show internal directories.
Click to hide internal directories.