Documentation ¶
Index ¶
- type ForwardToSocks5
- func (forwardToSocks5 *ForwardToSocks5) Handle(clientConnection net.Conn) error
- func (forwardToSocks5 *ForwardToSocks5) SetAuthenticationMethod(_ Types.AuthenticationMethod) error
- func (forwardToSocks5 *ForwardToSocks5) SetDial(dialFunc Types.DialFunc)
- func (forwardToSocks5 *ForwardToSocks5) SetLoggingMethod(loggingMethod Types.LoggingMethod) error
- func (forwardToSocks5 *ForwardToSocks5) SetOutboundFilter(_ Types.IOFilter) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ForwardToSocks5 ¶
type ForwardToSocks5 struct { TargetAddress string Socks5Dialer proxy.Dialer LoggingMethod Types.LoggingMethod // contains filtered or unexported fields }
func NewForwardToSocks5 ¶
func NewForwardToSocks5(networkType, proxyAddress, username, password, targetAddress string, loggingMethod Types.LoggingMethod) (*ForwardToSocks5, error)
func (*ForwardToSocks5) Handle ¶
func (forwardToSocks5 *ForwardToSocks5) Handle(clientConnection net.Conn) error
func (*ForwardToSocks5) SetAuthenticationMethod ¶
func (forwardToSocks5 *ForwardToSocks5) SetAuthenticationMethod(_ Types.AuthenticationMethod) error
func (*ForwardToSocks5) SetDial ¶
func (forwardToSocks5 *ForwardToSocks5) SetDial(dialFunc Types.DialFunc)
func (*ForwardToSocks5) SetLoggingMethod ¶
func (forwardToSocks5 *ForwardToSocks5) SetLoggingMethod(loggingMethod Types.LoggingMethod) error
func (*ForwardToSocks5) SetOutboundFilter ¶
func (forwardToSocks5 *ForwardToSocks5) SetOutboundFilter(_ Types.IOFilter) error
Click to show internal directories.
Click to hide internal directories.