quicconn

package
v0.0.0-...-3d1188e Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConn

func NewConn(isClient bool, conn quic.Connection) net.Conn

Types

type QuicConn

type QuicConn struct {
	// contains filtered or unexported fields
}

func (*QuicConn) Close

func (q *QuicConn) Close() (err error)

func (*QuicConn) HandShakeHandle

func (q *QuicConn) HandShakeHandle() error

HandShakeHandle activate stream and check peer time duration

func (*QuicConn) LocalAddr

func (q *QuicConn) LocalAddr() net.Addr

func (*QuicConn) Read

func (q *QuicConn) Read(b []byte) (n int, err error)

func (*QuicConn) RemoteAddr

func (q *QuicConn) RemoteAddr() net.Addr

func (*QuicConn) SetDeadline

func (q *QuicConn) SetDeadline(t time.Time) (err error)

func (*QuicConn) SetReadDeadline

func (q *QuicConn) SetReadDeadline(t time.Time) (err error)

func (*QuicConn) SetWriteDeadline

func (q *QuicConn) SetWriteDeadline(t time.Time) (err error)

func (*QuicConn) Write

func (q *QuicConn) Write(b []byte) (n int, err error)

Jump to

Keyboard shortcuts

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