Documentation
¶
Overview ¶
Package iprule provides Go API for interacting with ip rule.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
Router uses `ip rule` under the hood
func NewRouter ¶
func NewRouter( rpFilterManager routes.RPFilterManager, ifgroupManager ifgroup.Manager, fwmark uint32, ) *Router
NewRouter is a default constructor for Router
func (*Router) CleanupRouting ¶
CleanupRouting for client node enable routing through exit node
Click to show internal directories.
Click to hide internal directories.