mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-16 09:26:21 -05:00
12 lines
305 B
Go
12 lines
305 B
Go
package app
|
|
|
|
import (
|
|
v2net "github.com/v2ray/v2ray-core/common/net"
|
|
"github.com/v2ray/v2ray-core/transport/ray"
|
|
)
|
|
|
|
// PacketDispatcher dispatch a packet and possibly further network payload to its destination.
|
|
type PacketDispatcher interface {
|
|
DispatchToOutbound(packet v2net.Packet) ray.InboundRay
|
|
}
|