Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Store ¶
Store contains the map of tunnels, where key is string tunnel alias and value is Tunnel.
type Tunnel ¶
type Tunnel struct {
Local string `toml:"local"`
Remote string `toml:"remote"`
Server string `toml:"server"`
Key string `toml:"key"`
Verbose bool `toml:"verbose"`
Help bool `toml:"help"`
Version bool `toml:"version"`
Detach bool `toml:"detach"`
}
Tunnel represents settings of the ssh tunnel.
func FindByName ¶
FindByName finds the Tunnel in Store by name.
Click to show internal directories.
Click to hide internal directories.