relayer

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Socks5Relayer

type Socks5Relayer struct {
	Listen        func(string) (net.Listener, error)
	Local         string
	Dial          func(string) (net.Conn, error)
	Next          []string
	RelayProtocol string
}

func (*Socks5Relayer) Run

func (this *Socks5Relayer) Run()

func (*Socks5Relayer) ServeAsEndRelayer

func (this *Socks5Relayer) ServeAsEndRelayer(red net.Conn)

func (*Socks5Relayer) ServeAsIntermediateRelayer

func (this *Socks5Relayer) ServeAsIntermediateRelayer(red net.Conn)

Jump to

Keyboard shortcuts

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