Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tunnel ¶
type Tunnel struct {
// contains filtered or unexported fields
}
Tunnel represents an SSH tunnel.
func NewTunnel ¶
func NewTunnel(sshConfig *conf.SSHConfig, remoteHost string, remotePort uint16, localPort uint16) *Tunnel
NewTunnel creates a new SSH tunnel.
Click to show internal directories.
Click to hide internal directories.