1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05:00

fix interface

This commit is contained in:
Darien Raymond 2017-04-03 01:06:49 +02:00
parent 5686566139
commit d792faff70
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -1,7 +1,6 @@
package ray package ray
import "v2ray.com/core/common/buf" import "v2ray.com/core/common/buf"
import "time"
// OutboundRay is a transport interface for outbound connections. // OutboundRay is a transport interface for outbound connections.
type OutboundRay interface { type OutboundRay interface {
@ -41,8 +40,8 @@ type RayStream interface {
type InputStream interface { type InputStream interface {
buf.Reader buf.Reader
buf.TimeoutReader
RayStream RayStream
ReadTimeout(time.Duration) (*buf.Buffer, error)
} }
type OutputStream interface { type OutputStream interface {