Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Route ¶
type Route struct { LocalIP net.IP RoutedNet *net.IPNet Interface *net.Interface Gateway net.IP Default bool }
func (*Route) AddStatic ¶
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 ¶
RemoveStatic removes a specific route added via AddStatic.
Click to show internal directories.
Click to hide internal directories.