mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-04-17 11:09:12 -04:00
rewrite ray -> pipe
This commit is contained in:
@@ -12,7 +12,6 @@ import (
|
||||
"v2ray.com/core/common/net"
|
||||
"v2ray.com/core/common/protocol"
|
||||
"v2ray.com/core/transport/internet"
|
||||
"v2ray.com/core/transport/ray"
|
||||
)
|
||||
|
||||
// An Inbound processes inbound connections.
|
||||
@@ -27,7 +26,7 @@ type Inbound interface {
|
||||
// An Outbound process outbound connections.
|
||||
type Outbound interface {
|
||||
// Process processes the given connection. The given dialer may be used to dial a system outbound connection.
|
||||
Process(context.Context, ray.OutboundRay, Dialer) error
|
||||
Process(context.Context, *core.Link, Dialer) error
|
||||
}
|
||||
|
||||
// Dialer is used by OutboundHandler for creating outbound connections.
|
||||
|
||||
Reference in New Issue
Block a user