chain

package
v0.1.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrLeastOneConnDialerRequired = errors.New("at least one conn dialer is required in chain")
)

Functions

func New

func New(connDialers ...ChainDialer) (socksnet.Dialer, error)

New creates a multi-hop proxy dialer from the provided chain dialers.

Types

type ChainDialer

type ChainDialer interface {
	socksnet.Dialer
	socksnet.ConnDialer
	ProxyAddress() string
}

ChainDialer represents a proxy hop in the chain.

Jump to

Keyboard shortcuts

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