Versions in this module Expand all Collapse all v0 v0.1.1 Nov 12, 2024 v0.0.1 Jul 24, 2024 Changes in this version + type Address string + type PeerID [32]byte + func PeerIDFromPrivateKey(sk ed25519.PrivateKey) (PeerID, error) + func PeerIDFromPublicKey(pk ed25519.PublicKey) (PeerID, error) + func (p *PeerID) UnmarshalBinary(data []byte) error + func (p *PeerID) UnmarshalText(text []byte) error + func (p PeerID) MarshalBinary() (data []byte, err error) + func (p PeerID) MarshalText() (text []byte, err error) + func (p PeerID) String() string + type PeerInfo struct + Addrs []Address + ID PeerID