Cloak/internal/multiplex/recvBuffer.go
2020-04-12 11:33:11 +01:00

15 lines
240 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)
}