relay

package
v3.0.0-alpha.3....-0a41b70 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UDPRelay

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

func NewUDPRelay

func NewUDPRelay(pc1, pc2 net.PacketConn) *UDPRelay

func (*UDPRelay) Run

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

func (*UDPRelay) SetBufferSize

func (r *UDPRelay) SetBufferSize(n int)

func (*UDPRelay) WithBypass

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

func (*UDPRelay) WithLogger

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

Jump to

Keyboard shortcuts

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