Versions in this module Expand all Collapse all v1 v1.11.13-rc.2 Dec 4, 2024 v1.0.0 Dec 4, 2024 Changes in this version + const IPPortLen + func Lookup(hostname string) (net.IP, error) + func PackIP(p *wrappers.Packer, ip IPPort) + type ClaimedIPPort struct + Cert *staking.Certificate + GossipID ids.ID + IPPort IPPort + NodeID ids.NodeID + Signature []byte + Timestamp uint64 + func NewClaimedIPPort(cert *staking.Certificate, ipPort IPPort, timestamp uint64, signature []byte) *ClaimedIPPort + func (i *ClaimedIPPort) Size() int + type DynamicIPPort interface + IPPort func() IPPort + SetIP func(ip net.IP) + func NewDynamicIPPort(ip net.IP, port uint16) DynamicIPPort + type IPDesc IPPort + func (ipDesc *IPDesc) UnmarshalJSON(b []byte) error + func (ipDesc IPDesc) MarshalJSON() ([]byte, error) + func (ipDesc IPDesc) String() string + type IPPort struct + IP net.IP + Port uint16 + func ToIPPort(str string) (IPPort, error) + func (ipPort IPPort) Equal(other IPPort) bool + func (ipPort IPPort) IsZero() bool + func (ipPort IPPort) String() string