Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ID ¶
ID is an identity of nodes, using its public key and network address.
func (ID) Equals ¶
Equals determines if two peer IDs are equal to each other based on the contents of their public keys.
func (ID) PublicKeyHex ¶
PublicKeyHex generates a hex-encoded string of public key of this given peer ID.
Click to show internal directories.
Click to hide internal directories.