gost_software/vendor/github.com/lucas-clemente/quic-go/utils/stream.go
2017-03-24 11:24:03 +02:00

18 lines
267 B
Go

package utils
import (
"io"
"github.com/lucas-clemente/quic-go/protocol"
)
// Stream is the interface for QUIC streams
type Stream interface {
io.Reader
io.Writer
io.Closer
StreamID() protocol.StreamID
CloseRemote(offset protocol.ByteCount)
Reset(error)
}