Versions in this module Expand all Collapse all v1 v1.19.0 Nov 25, 2023 Changes in this version + var ErrAddrNotFound = errors.New("addr not found") + var ErrIfaceNotFound = errors.New("interface not found") + func FlushCache() + type Interface struct + Addrs []*net.IPNet + HardwareAddr net.HardwareAddr + Index int + Name string + func ResolveInterface(name string) (*Interface, error) + func (iface *Interface) PickIPv4Addr(destination net.IP) (*net.IPNet, error) + func (iface *Interface) PickIPv6Addr(destination net.IP) (*net.IPNet, error)