Documentation ¶
Index ¶
- type DefaultDispatcher
- func (this *DefaultDispatcher) DispatchToOutbound(meta *proxy.InboundHandlerMeta, session *proxy.SessionInfo) ray.InboundRay
- func (this *DefaultDispatcher) FilterPacketAndDispatch(destination v2net.Destination, link ray.OutboundRay, ...)
- func (this *DefaultDispatcher) Initialize(space app.Space) error
- func (this *DefaultDispatcher) Release()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultDispatcher ¶
type DefaultDispatcher struct {
// contains filtered or unexported fields
}
func NewDefaultDispatcher ¶
func NewDefaultDispatcher(space app.Space) *DefaultDispatcher
func (*DefaultDispatcher) DispatchToOutbound ¶
func (this *DefaultDispatcher) DispatchToOutbound(meta *proxy.InboundHandlerMeta, session *proxy.SessionInfo) ray.InboundRay
func (*DefaultDispatcher) FilterPacketAndDispatch ¶
func (this *DefaultDispatcher) FilterPacketAndDispatch(destination v2net.Destination, link ray.OutboundRay, dispatcher proxy.OutboundHandler)
Private: Visible for testing.
func (*DefaultDispatcher) Initialize ¶
func (this *DefaultDispatcher) Initialize(space app.Space) error
Private: Used by app.Space only.
func (*DefaultDispatcher) Release ¶
func (this *DefaultDispatcher) Release()
Click to show internal directories.
Click to hide internal directories.