Documentation ¶
Index ¶
- Variables
- type ClientPacketConnWrapper
- func (c *ClientPacketConnWrapper) Close() error
- func (c *ClientPacketConnWrapper) LocalAddr() net.Addr
- func (c *ClientPacketConnWrapper) ReadFrom(b []byte) (int, net.Addr, error)
- func (c *ClientPacketConnWrapper) SetDeadline(t time.Time) error
- func (c *ClientPacketConnWrapper) SetReadDeadline(t time.Time) error
- func (c *ClientPacketConnWrapper) SetWriteDeadline(t time.Time) error
- func (c *ClientPacketConnWrapper) WriteTo(b []byte, addr net.Addr) (n int, err error)
- type PacketConnWrapper
- func (c *PacketConnWrapper) Close() error
- func (c *PacketConnWrapper) LocalAddr() net.Addr
- func (c *PacketConnWrapper) ReadFrom(b []byte) (int, net.Addr, error)
- func (c *PacketConnWrapper) SetDeadline(t time.Time) error
- func (c *PacketConnWrapper) SetReadDeadline(t time.Time) error
- func (c *PacketConnWrapper) SetWriteDeadline(t time.Time) error
- func (c *PacketConnWrapper) WriteTo(b []byte, addr net.Addr) (n int, err error)
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) 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
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) 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
Click to show internal directories.
Click to hide internal directories.