mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-14 06:46:11 +00:00
fix interface
This commit is contained in:
1 file changed
+1
-2
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user