udp

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: AGPL-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 UdpPacketHandler

type UdpPacketHandler struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewUdpPacketHandler

func NewUdpPacketHandler(
	tag string,
	packetConnHandler i.PacketHandler,
	writeResponse func(p *udp.Packet) error,
) *UdpPacketHandler

func (*UdpPacketHandler) HandleUdpPacket

func (t *UdpPacketHandler) HandleUdpPacket(p *udp.Packet)

func (*UdpPacketHandler) RemoveUdpSession

func (u *UdpPacketHandler) RemoveUdpSession(src net.Destination)

Jump to

Keyboard shortcuts

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