1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-10-02 16:56:02 -04:00
v2fly/common/router/dispatcher.go
2018-01-10 12:22:37 +01:00

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)
}