proxy

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proxy

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

func NewProxy

func NewProxy(connId uint64, conn net.Conn, lAddr, rAddr *net.TCPAddr, secure bool) *Proxy

func (*Proxy) SetBufferSize

func (p *Proxy) SetBufferSize(buffSize uint64)

func (*Proxy) SetEnableTLS

func (p *Proxy) SetEnableTLS(enabled bool)

func (*Proxy) SetLogger added in v1.2.6

func (p *Proxy) SetLogger(logger *logger.BaseLogger)

func (*Proxy) SetProxyKind added in v1.2.6

func (p *Proxy) SetProxyKind(proxyKind string)

func (*Proxy) SetSNIHost

func (p *Proxy) SetSNIHost(hostname string)

func (*Proxy) SetServerHost

func (p *Proxy) SetServerHost(server string)

func (*Proxy) SetServerProxyMode

func (p *Proxy) SetServerProxyMode(enabled bool)

func (*Proxy) SetlPayload

func (p *Proxy) SetlPayload(lPayload string)

func (*Proxy) SetrPayload

func (p *Proxy) SetrPayload(rPayload string)

func (*Proxy) Start

func (p *Proxy) Start()

Jump to

Keyboard shortcuts

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