Versions in this module Expand all Collapse all v3 v3.2.0 Aug 23, 2022 Changes in this version + const ClientMessage + const DefaultChunkSize + const FailedProxySetup + const FailedRequest + const ServerMessage + const Success + var SampleAddress = &net.TCPAddr + var SampleMessage = []byte("HELLO") + func GetRequestContents(url string) []byte + func GetRequestHTTP(targetUrl, username, password string) uint8 + func GetRequestRaw(url string) uint + func GetRequestSocks5(url, username, password string) uint8 + func GetRequestToPool() int + func NewBindHandler(handler proxy2.HTTPHandler, filters listeners.Filters) net.Listener + func NewBindPipe(protocol proxy2.Protocol, filters listeners.Filters) net.Listener + func NewHTTPServers(t *testing.T) (net.Listener, net.Listener) + func NewMasterSlave(protocol proxy2.Protocol, filters listeners.Filters) (net.Listener, net.Listener) + func NewMasterSlaveHandler(handler proxy2.HTTPHandler, filters listeners.Filters) (net.Listener, net.Listener) + func Socks6BindSucceed(proxyAddress string, authMethod proxy2.AuthenticationMethod, ...) + func StartIPv4HTTPServer(t *testing.T) net.Listener + func StartIPv6HTTPServer(t *testing.T) net.Listener + type BasicAccept struct + func (b *BasicAccept) Accept(address string) error + func (b *BasicAccept) Inbound(address string) error + func (b *BasicAccept) Listen(address string) error + func (b *BasicAccept) Outbound(address string) error + type BasicInbound struct + func (b *BasicInbound) Accept(address string) error + func (b *BasicInbound) Inbound(address string) error + func (b *BasicInbound) Listen(address string) error + func (b *BasicInbound) Outbound(address string) error + type BasicListen struct + func (b *BasicListen) Accept(address string) error + func (b *BasicListen) Inbound(address string) error + func (b *BasicListen) Listen(address string) error + func (b *BasicListen) Outbound(address string) error + type BasicOutbound struct + func (b *BasicOutbound) Accept(address string) error + func (b *BasicOutbound) Inbound(address string) error + func (b *BasicOutbound) Listen(address string) error + func (b *BasicOutbound) Outbound(address string) error