mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-18 02:16:10 -05:00
13 lines
208 B
Go
13 lines
208 B
Go
package router
|
|
|
|
import (
|
|
"context"
|
|
|
|
"v2ray.com/core/common/net"
|
|
"v2ray.com/core/transport/ray"
|
|
)
|
|
|
|
type Dispatcher interface {
|
|
Dispatch(ctx context.Context, dest net.Destination) (ray.InboundRay, error)
|
|
}
|