Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RouteServerDefault = &Route{ Destination: EgressDirect, MatchType: TypeDefault, } RouteClientDefault = &Route{ Destination: EgressProxy, MatchType: TypeDefault, } RouteBlockIPv6 = &Route{ Sources: []string{ "::/0", }, Destination: EgressBlock, MatchType: TypeCIDR, } )
Functions ¶
func AddToFirstRoute ¶
func AddToFirstRoute(r *Route)
func AddToLastRoute ¶
func AddToLastRoute(r *Route)
func GenerateCache ¶
func GenerateCache() error
Types ¶
type Route ¶
type Route struct { Sources []string `json:"src"` Ext string `json:"path,omitempty"` Destination Egress `json:"dst"` MatchType Type `json:"type"` // contains filtered or unexported fields }
func (*Route) GenerateCache ¶
type RoutesTable ¶
Click to show internal directories.
Click to hide internal directories.