packet

package
v1.18.9 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnhancePacketConn

type EnhancePacketConn interface {
	net.PacketConn
	WaitReadFrom
}

func NewEnhancePacketConn

func NewEnhancePacketConn(pc net.PacketConn) EnhancePacketConn

func NewRefPacketConn

func NewRefPacketConn(pc net.PacketConn, ref any) EnhancePacketConn

func NewThreadSafePacketConn

func NewThreadSafePacketConn(pc net.PacketConn) EnhancePacketConn

type EnhanceSingPacketConn

type EnhanceSingPacketConn interface {
	SingPacketConn
	EnhancePacketConn
}

type SingPacketConn

type SingPacketConn = N.NetPacketConn

type WaitReadFrom

type WaitReadFrom interface {
	WaitReadFrom() (data []byte, put func(), addr net.Addr, err error)
}

Jump to

Keyboard shortcuts

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