wrap

package
v0.0.0-...-2486230 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

type Conn interface {
	net.Conn

	ConnectionStatus() ConnectionState
}

type ConnWrapper

type ConnWrapper struct {
	QuicStream
	Conn quic.Connection
}

func (ConnWrapper) ConnectionStatus

func (c ConnWrapper) ConnectionStatus() ConnectionState

func (ConnWrapper) LocalAddr

func (c ConnWrapper) LocalAddr() net.Addr

func (ConnWrapper) RemoteAddr

func (c ConnWrapper) RemoteAddr() net.Addr

func (ConnWrapper) Stream

func (c ConnWrapper) Stream() quic.Stream

type ConnectionState

type ConnectionState struct {
	tls.ConnectionState
	Used0RTT          bool
	SupportsDatagrams bool
}

type QuicConn

type QuicConn interface {
	Conn

	Stream() quic.Stream
}

func FromQuic

func FromQuic(stream quic.Stream, conn quic.Connection) QuicConn

type QuicStream

type QuicStream = quic.Stream

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL