Help us shape the future of Go! Take the 2026 Go Developer Survey

proxybridge

package
v1.14.3 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: GPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bridge

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

func New

func New(ctx context.Context, logger logger.ContextLogger, tag string, dialer N.Dialer) (*Bridge, error)

func (*Bridge) Close

func (b *Bridge) Close() error

func (*Bridge) NewConnectionEx

func (b *Bridge) NewConnectionEx(ctx context.Context, conn net.Conn, source M.Socksaddr, destination M.Socksaddr, onClose N.CloseHandlerFunc)

func (*Bridge) NewPacketConnectionEx

func (b *Bridge) NewPacketConnectionEx(ctx context.Context, conn N.PacketConn, source M.Socksaddr, destination M.Socksaddr, onClose N.CloseHandlerFunc)

func (*Bridge) Password

func (b *Bridge) Password() string

func (*Bridge) Port

func (b *Bridge) Port() uint16

func (*Bridge) Start

func (b *Bridge) Start() error

func (*Bridge) Username

func (b *Bridge) Username() string

Jump to

Keyboard shortcuts

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