Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SSHProxy ¶
type SSHProxy struct { // if the client is ssh proxy client, this field will be set LocalListener net.Listener SSHConfig *config.SSHConf RemoteTunnelConn net.Conn }
func (*SSHProxy) NewTCPServer ¶
func (*SSHProxy) Start ¶
func (s *SSHProxy) Start(handler TCPHandler) error
func (*SSHProxy) WaitForTunnelConn ¶
type TCPHandler ¶
Click to show internal directories.
Click to hide internal directories.