Documentation
¶
Index ¶
- type ForwardToSocks5
- func (forwardToSocks5 *ForwardToSocks5) Handle(clientConnection net.Conn, clientConnectionReader *bufio.Reader, ...) error
- func (forwardToSocks5 *ForwardToSocks5) SetAuthenticationMethod(_ Types.AuthenticationMethod) error
- func (forwardToSocks5 *ForwardToSocks5) SetInboundFilter(filter Types.IOFilter) error
- func (forwardToSocks5 *ForwardToSocks5) SetLoggingMethod(loggingMethod Types.LoggingMethod) error
- func (ForwardToSocks5) SetOutboundFilter(_ Types.IOFilter) error
- func (forwardToSocks5 *ForwardToSocks5) SetTimeout(timeout time.Duration) error
- func (forwardToSocks5 *ForwardToSocks5) SetTries(tries int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ForwardToSocks5 ¶
type ForwardToSocks5 struct { TargetHost string TargetPort string Socks5Dialer proxy.Dialer LoggingMethod Types.LoggingMethod Tries int Timeout time.Duration InboundFilter Types.IOFilter }
func (*ForwardToSocks5) SetAuthenticationMethod ¶
func (forwardToSocks5 *ForwardToSocks5) SetAuthenticationMethod(_ Types.AuthenticationMethod) error
func (*ForwardToSocks5) SetInboundFilter ¶
func (forwardToSocks5 *ForwardToSocks5) SetInboundFilter(filter Types.IOFilter) error
func (*ForwardToSocks5) SetLoggingMethod ¶
func (forwardToSocks5 *ForwardToSocks5) SetLoggingMethod(loggingMethod Types.LoggingMethod) error
func (ForwardToSocks5) SetOutboundFilter ¶
func (ForwardToSocks5) SetOutboundFilter(_ Types.IOFilter) error
func (*ForwardToSocks5) SetTimeout ¶
func (forwardToSocks5 *ForwardToSocks5) SetTimeout(timeout time.Duration) error
func (*ForwardToSocks5) SetTries ¶
func (forwardToSocks5 *ForwardToSocks5) SetTries(tries int) error
Click to show internal directories.
Click to hide internal directories.