Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Route ¶
type Route struct { LocalIP net.IP RoutedNet *net.IPNet Interface *net.Interface Gateway net.IP Default bool }
func (*Route) AddStatic ¶ added in v2.7.2
AddStatic adds a specific route. This can be used to prevent certain IP addresses from being routed to the route's interface.
func (*Route) RemoveStatic ¶ added in v2.7.2
RemoveStatic removes a specific route added via AddStatic.
Click to show internal directories.
Click to hide internal directories.