Versions in this module Expand all Collapse all v0 v0.0.4 Nov 4, 2021 v0.0.3 Oct 21, 2021 Changes in this version + var ErrAddrParse = errors.New("error while parsing address") + var TargetAddrEmpty = errors.New("target addr empty") + type PeerAddressInfo struct + Id PeerId + IpV4Addr string + IsBehindNAT PeerReachabilityStatus + Port int32 + func FromSerializedAddr(sAddr string) (PeerAddressInfo, error) + func (addr *PeerAddressInfo) ToSerializedAddressFormat() (string, error) + type PeerId string + func GenerateNew() PeerId + type PeerReachabilityStatus int32 + const BehindNAT + const Public + const Unknown