From d792faff7074a0aa60307d33d5bc7671265bbcad Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Mon, 3 Apr 2017 01:06:49 +0200 Subject: [PATCH] fix interface --- transport/ray/ray.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/transport/ray/ray.go b/transport/ray/ray.go index 9172f969..356f676a 100644 --- a/transport/ray/ray.go +++ b/transport/ray/ray.go @@ -1,7 +1,6 @@ package ray import "v2ray.com/core/common/buf" -import "time" // OutboundRay is a transport interface for outbound connections. type OutboundRay interface { @@ -41,8 +40,8 @@ type RayStream interface { type InputStream interface { buf.Reader + buf.TimeoutReader RayStream - ReadTimeout(time.Duration) (*buf.Buffer, error) } type OutputStream interface {