Documentation
¶
Overview ¶
Provides network routing information about the system. It can either return all available routes or select a specific route depending on a destination address.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Route ¶
type Route struct { Default bool SrcNet *net.IPNet DstNet *net.IPNet Gateway net.IP Iface *net.Interface }
func (*Route) GetIfaceIPv4Addr ¶
Return the default IPv4 address of a network interface.
func (*Route) GetIfaceIPv6Addr ¶
Return the default IPv6 address of a network interface.
Click to show internal directories.
Click to hide internal directories.