Versions in this module Expand all Collapse all v4 v4.41.0 Jun 24, 2021 Changes in this version + func DispatcherType() interface + func RouterType() interface + type Context interface + GetAttributes func() map[string]string + GetInboundTag func() string + GetNetwork func() net.Network + GetProtocol func() string + GetSkipDNSResolve func() bool + GetSourceIPs func() []net.IP + GetSourcePort func() net.Port + GetTargetDomain func() string + GetTargetIPs func() []net.IP + GetTargetPort func() net.Port + GetUser func() string + type DefaultRouter struct + func (DefaultRouter) Close() error + func (DefaultRouter) PickRoute(ctx Context) (Route, error) + func (DefaultRouter) Start() error + func (DefaultRouter) Type() interface{} + type Dispatcher interface + Dispatch func(ctx context.Context, dest net.Destination) (*transport.Link, error) + type Route interface + GetOutboundGroupTags func() []string + GetOutboundTag func() string + type Router interface + PickRoute func(ctx Context) (Route, error)