Documentation
¶
Index ¶
- type Option
- type QUICGoConnection
- func (c *QUICGoConnection) AcceptUniStream(ctx context.Context) (quicdc.ReceiveStream, error)
- func (c *QUICGoConnection) CloseWithError(code uint64, reason string) error
- func (c *QUICGoConnection) OpenUniStream() (quicdc.SendStream, error)
- func (c *QUICGoConnection) OpenUniStreamSync(ctx context.Context) (quicdc.SendStream, error)
- func (c *QUICGoConnection) ReceiveDatagram(ctx context.Context) ([]byte, error)
- func (c *QUICGoConnection) SendDatagram(payload []byte) error
- type QuicGoReceiveStream
- type QuicGoSendStream
- type Receiver
- type Sender
- type Transport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QUICGoConnection ¶
type QUICGoConnection struct {
// contains filtered or unexported fields
}
func NewQUICGoConnection ¶
func NewQUICGoConnection(conn *quic.Conn) *QUICGoConnection
func (*QUICGoConnection) AcceptUniStream ¶
func (c *QUICGoConnection) AcceptUniStream(ctx context.Context) (quicdc.ReceiveStream, error)
func (*QUICGoConnection) CloseWithError ¶
func (c *QUICGoConnection) CloseWithError(code uint64, reason string) error
func (*QUICGoConnection) OpenUniStream ¶
func (c *QUICGoConnection) OpenUniStream() (quicdc.SendStream, error)
func (*QUICGoConnection) OpenUniStreamSync ¶
func (c *QUICGoConnection) OpenUniStreamSync(ctx context.Context) (quicdc.SendStream, error)
func (*QUICGoConnection) ReceiveDatagram ¶
func (c *QUICGoConnection) ReceiveDatagram(ctx context.Context) ([]byte, error)
func (*QUICGoConnection) SendDatagram ¶
func (c *QUICGoConnection) SendDatagram(payload []byte) error
type QuicGoReceiveStream ¶
type QuicGoReceiveStream struct {
// contains filtered or unexported fields
}
func NewQuicGoReceiveStream ¶
func NewQuicGoReceiveStream(stream *quic.ReceiveStream) *QuicGoReceiveStream
func (*QuicGoReceiveStream) CancelRead ¶
func (s *QuicGoReceiveStream) CancelRead(c uint64)
func (*QuicGoReceiveStream) ID ¶
func (s *QuicGoReceiveStream) ID() int64
type QuicGoSendStream ¶
type QuicGoSendStream struct {
// contains filtered or unexported fields
}
func NewQuicstream ¶
func NewQuicstream(stream *quic.SendStream) *QuicGoSendStream
func (*QuicGoSendStream) CancelWrite ¶
func (s *QuicGoSendStream) CancelWrite(c uint64)
func (*QuicGoSendStream) Close ¶
func (s *QuicGoSendStream) Close() error
func (*QuicGoSendStream) ID ¶
func (s *QuicGoSendStream) ID() int64
func (*QuicGoSendStream) SetIncremental ¶
func (s *QuicGoSendStream) SetIncremental(i bool)
func (*QuicGoSendStream) SetPriority ¶
func (s *QuicGoSendStream) SetPriority(p uint32)
type Transport ¶
type Transport struct {
// contains filtered or unexported fields
}
func (*Transport) AddDataChannelReceiver ¶
func (*Transport) NewDataChannelSender ¶
func (*Transport) ReadStream ¶
func (t *Transport) ReadStream(ctx context.Context, stream quicdc.ReceiveStream, channelID uint64) error
ReadStream registers a QUIC stream to the quicdc session
Click to show internal directories.
Click to hide internal directories.