Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestPacketDispatcher ¶
type TestPacketDispatcher struct { Destination chan v2net.Destination Handler func(destination v2net.Destination, traffic ray.OutboundRay) }
func NewTestPacketDispatcher ¶
func NewTestPacketDispatcher(handler func(destination v2net.Destination, traffic ray.OutboundRay)) *TestPacketDispatcher
func (*TestPacketDispatcher) DispatchToOutbound ¶
func (this *TestPacketDispatcher) DispatchToOutbound(destination v2net.Destination) ray.InboundRay
Click to show internal directories.
Click to hide internal directories.