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