Documentation ¶
Index ¶
- func InitLogger(ctx context.Context)
- func NewStack(ctx context.Context, dev stack.LinkEndpoint, ...) (*stack.Stack, error)
- type Device
- type Router
- func (rt *Router) Close(ctx context.Context)
- func (rt *Router) GetRoutedSubnets() []*net.IPNet
- func (rt *Router) UpdateRoutes(ctx context.Context, pleaseProxy, dontProxy, dontProxyOverrides []*net.IPNet) error
- func (rt *Router) UpdateWhitelist(whitelist []*net.IPNet)
- func (rt *Router) ValidateRoutes(ctx context.Context, routes []*net.IPNet) error
- type TunnelingDevice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶ added in v2.7.2
Types ¶
type Device ¶
type Router ¶ added in v2.13.0
type Router struct {
// contains filtered or unexported fields
}
func (*Router) GetRoutedSubnets ¶ added in v2.13.0
func (*Router) UpdateRoutes ¶ added in v2.13.0
func (*Router) UpdateWhitelist ¶ added in v2.14.0
type TunnelingDevice ¶ added in v2.13.0
type TunnelingDevice struct { Device Device Router *Router // contains filtered or unexported fields }
func NewTunnelingDevice ¶ added in v2.13.0
func NewTunnelingDevice(ctx context.Context, tunnelStreamCreator tunnel.StreamCreator) (*TunnelingDevice, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.