udp

package
v0.0.0-...-799489d Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Relay

type Relay struct {
	// contains filtered or unexported fields
}

func NewRelay

func NewRelay(pc1, pc2 net.PacketConn) *Relay

func (*Relay) Run

func (r *Relay) Run() (err error)

func (*Relay) SetBufferSize

func (r *Relay) SetBufferSize(n int)

func (*Relay) WithBypass

func (r *Relay) WithBypass(bp bypass.Bypass) *Relay

func (*Relay) WithLogger

func (r *Relay) WithLogger(logger logger.Logger) *Relay

Jump to

Keyboard shortcuts

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