mirror of
https://github.com/cbeuw/Cloak.git
synced 2024-11-11 13:11:03 +00:00
16 lines
276 B
Go
16 lines
276 B
Go
package multiplex
|
|
|
|
import (
|
|
"io"
|
|
"time"
|
|
)
|
|
|
|
type recvBuffer interface {
|
|
// Read calls' err must be nil | io.EOF | io.ErrShortBuffer
|
|
io.ReadCloser
|
|
io.WriterTo
|
|
Write(Frame) (toBeClosed bool, err error)
|
|
SetReadDeadline(time time.Time)
|
|
SetWriteToTimeout(d time.Duration)
|
|
}
|