Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address string
Address represents a network address & port such as "192.168.1.2:8080". It can also contain special bind addresses such as "0.0.0.0:80".
type PeerID ¶
type PeerID [32]byte
PeerID represents a unique identifier for another peer.
func PeerIDFromPrivateKey ¶
func PeerIDFromPrivateKey(sk ed25519.PrivateKey) (PeerID, error)
func (PeerID) MarshalBinary ¶
func (PeerID) MarshalText ¶
func (*PeerID) UnmarshalBinary ¶
func (*PeerID) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.