Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version string = "v1.0.0"
Functions ¶
This section is empty.
Types ¶
type CulvertConfig ¶
type CulvertConfig struct {
Tunnels []TunnelConfig `yaml:"tunnels"`
Log LogConfig `yaml:"log"`
}
type HostConfig ¶
type KeepaliveConfig ¶
type LocalConfig ¶
type RemoteConfig ¶
type TunnelConfig ¶
type TunnelConfig struct {
Name string `yaml:"name"`
Mode string `yaml:"mode"`
Host HostConfig `yaml:"host"`
Keepalive KeepaliveConfig `yaml:"keepalive"`
Remote RemoteConfig `yaml:"remote"`
Local LocalConfig `yaml:"local"`
RetryInterval int `yaml:"retryInterval"`
}
func (TunnelConfig) BindTunnel ¶
func (t TunnelConfig) BindTunnel(ctx context.Context, wg *sync.WaitGroup)
Click to show internal directories.
Click to hide internal directories.