packet

package
v0.4.12 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {
	ServePacket(ctx context.Context, pkt Packet)
}

type ListenConfig

type ListenConfig interface {
	ListenPacket(ctx context.Context) (Packet, error)
}

type Packet

type Packet = net.PacketConn

Directories

Path Synopsis
handler

Jump to

Keyboard shortcuts

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