package
Version:
v0.0.4
Opens a new window with list of versions in this module.
Published: Jul 12, 2023
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Configuration struct {
Tunnels []Tunnel `hcl:"tunnel,block"`
}
type Local struct {
Port string `hcl:"port"`
Cmd []string `hcl:"cmd,optional"`
}
type Remote struct {
Port string `hcl:"port"`
Host string `hcl:"host"`
}
type Tunnel struct {
Name string `hcl:"name,optional"`
User string `hcl:"user"`
Local Local `hcl:"local,block"`
Remote Remote `hcl:"remote,block"`
}
String prints out a pretty version of the tunnel struct
Source Files
¶
Click to show internal directories.
Click to hide internal directories.