mirror of https://github.com/v2ray/v2ray-core
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)
|
||
|
}
|