Versions in this module Expand all Collapse all v1 v1.6.0 Dec 4, 2026 Changes in this version + func MatchesAddressFamily(addr netip.Addr, af option.AddressFamily) bool + func TCPNetworkForFamily(af option.AddressFamily) (string, error) + type DialTarget struct + func NormalizeAndFilter(addrs []netip.Addr, af option.AddressFamily) ([]DialTarget, error) + func (t DialTarget) Addr() netip.Addr + func (t DialTarget) Equal(other DialTarget) bool + func (t DialTarget) IsValid() bool + func (t DialTarget) IsZero() bool + func (t DialTarget) JoinHostPort(port uint16) string + func (t DialTarget) Network() string