quicdialer

package
v3.14.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandshakeSaver

type HandshakeSaver struct {
	Saver *trace.Saver
	model.QUICDialer
}

HandshakeSaver saves events occurring during the handshake

func (HandshakeSaver) DialContext

func (h HandshakeSaver) DialContext(ctx context.Context, network string,
	host string, tlsCfg *tls.Config, cfg *quic.Config) (quic.EarlySession, error)

DialContext implements ContextDialer.DialContext

type QUICListenerSaver added in v3.13.0

type QUICListenerSaver struct {
	// QUICListener is the underlying QUICListener.
	model.QUICListener

	// Saver is the underlying Saver.
	Saver *trace.Saver
}

QUICListenerSaver is a QUICListener that also implements saving events.

func (*QUICListenerSaver) Listen added in v3.13.0

func (qls *QUICListenerSaver) Listen(addr *net.UDPAddr) (model.UDPLikeConn, error)

Listen implements QUICListener.Listen.

Jump to

Keyboard shortcuts

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