fix interface

pull/432/head
Darien Raymond 8 years ago
parent 5686566139
commit d792faff70
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

@ -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 {

Loading…
Cancel
Save