relayer

package
v0.0.0-...-342d0c6 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPProxyFE

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

func NewHTTPProxyFE

func NewHTTPProxyFE() *HTTPProxyFE

func (*HTTPProxyFE) Accept

func (self *HTTPProxyFE) Accept() (ch chan core.AcceptResult)

func (*HTTPProxyFE) Capture

func (self *HTTPProxyFE) Capture(c net.Conn, raddr string)

type Options

type Options struct {
	LocalAddr      string
	LocalHTTPProxy string
	NextHop        string
}

type Pipeline

type Pipeline struct{}

func (*Pipeline) Create

func (self *Pipeline) Create(c net.Conn) core.Port

type Socks5FE

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

func NewSocks5FE

func NewSocks5FE(ln *net.TCPListener) *Socks5FE

func (*Socks5FE) Accept

func (self *Socks5FE) Accept() (ch chan core.AcceptResult)

type TCPBE

type TCPBE struct{}

func (*TCPBE) Dial

func (self *TCPBE) Dial(addr string) (ch chan core.DialResult)

type WrapBE

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

func NewWrapBE

func NewWrapBE(raddr string, pc core.PortCreator) *WrapBE

func (*WrapBE) Dial

func (self *WrapBE) Dial(addr string) (ch chan core.DialResult)

type WrapFE

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

func NewWrapFE

func NewWrapFE(ln *net.TCPListener, pc core.PortCreator) *WrapFE

func (*WrapFE) Accept

func (self *WrapFE) Accept() (ch chan core.AcceptResult)

Jump to

Keyboard shortcuts

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