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