pktconns

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientPacketConnFunc

type ClientPacketConnFunc func(server string) (net.PacketConn, net.Addr, error)

func NewClientFakeTCPConnFunc

func NewClientFakeTCPConnFunc(hopInterval time.Duration) ClientPacketConnFunc

type ClientPacketConnFuncFactory

type ClientPacketConnFuncFactory func(hopInterval time.Duration) ClientPacketConnFunc

type ServerPacketConnFunc

type ServerPacketConnFunc func(listen string) (net.PacketConn, error)

func NewServerFakeTCPConnFunc

func NewServerFakeTCPConnFunc() ServerPacketConnFunc

type ServerPacketConnFuncFactory

type ServerPacketConnFuncFactory func() ServerPacketConnFunc

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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