proxy_handler

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnHandler

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

func New

func New(tcpIn chan conn.TcpConnContext,
	udpIn chan conn.UdpConnContext) *ConnHandler

func (ConnHandler) NewConnection

func (uc ConnHandler) NewConnection(ctx context.Context, netConn net.Conn, metadata M.Metadata) error

func (ConnHandler) NewError

func (uc ConnHandler) NewError(_ context.Context, err error)

func (ConnHandler) NewPacketConnection

func (uc ConnHandler) NewPacketConnection(ctx context.Context, packetConn network.PacketConn, metadata M.Metadata) error

Jump to

Keyboard shortcuts

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