proxy_handler

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2023 License: GPL-3.0 Imports: 9 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 (c ConnHandler) NewConnection(ctx context.Context, netConn net.Conn, metadata M.Metadata) error

func (ConnHandler) NewError

func (c ConnHandler) NewError(ctx context.Context, err error)

func (ConnHandler) NewPacketConnection

func (c 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