telemetry

package
v0.0.0-...-109c5d9 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	QuicDebugClient = false
	QuicDebugServer = false
)

Functions

This section is empty.

Types

type ClientPacketConnWrapper

type ClientPacketConnWrapper struct {
	PacketConn   net.PacketConn
	PacketConnAP net.PacketConn
	// contains filtered or unexported fields
}

Wrap a packet conn, display messages and adjust addresses.

func (*ClientPacketConnWrapper) Close

func (c *ClientPacketConnWrapper) Close() error

func (*ClientPacketConnWrapper) LocalAddr

func (c *ClientPacketConnWrapper) LocalAddr() net.Addr

func (*ClientPacketConnWrapper) ReadFrom

func (c *ClientPacketConnWrapper) ReadFrom(b []byte) (int, net.Addr, error)

func (*ClientPacketConnWrapper) SetDeadline

func (c *ClientPacketConnWrapper) SetDeadline(t time.Time) error

func (*ClientPacketConnWrapper) SetReadDeadline

func (c *ClientPacketConnWrapper) SetReadDeadline(t time.Time) error

func (*ClientPacketConnWrapper) SetWriteDeadline

func (c *ClientPacketConnWrapper) SetWriteDeadline(t time.Time) error

func (*ClientPacketConnWrapper) WriteTo

func (c *ClientPacketConnWrapper) WriteTo(b []byte, addr net.Addr) (n int, err error)

type PacketConnWrapper

type PacketConnWrapper struct {
	PacketConn net.PacketConn
	// contains filtered or unexported fields
}

func (*PacketConnWrapper) Close

func (c *PacketConnWrapper) Close() error

func (*PacketConnWrapper) LocalAddr

func (c *PacketConnWrapper) LocalAddr() net.Addr

Client only seems to call it for the debug, in server.go/Listen

func (*PacketConnWrapper) ReadFrom

func (c *PacketConnWrapper) ReadFrom(b []byte) (int, net.Addr, error)

func (*PacketConnWrapper) SetDeadline

func (c *PacketConnWrapper) SetDeadline(t time.Time) error

func (*PacketConnWrapper) SetReadDeadline

func (c *PacketConnWrapper) SetReadDeadline(t time.Time) error

func (*PacketConnWrapper) SetWriteDeadline

func (c *PacketConnWrapper) SetWriteDeadline(t time.Time) error

func (*PacketConnWrapper) WriteTo

func (c *PacketConnWrapper) WriteTo(b []byte, addr net.Addr) (n int, err error)

Jump to

Keyboard shortcuts

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