Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Logger LoggerConfig `json:"logger" yaml:"logger"` // options for both client & server Tunnel string `json:"tunnel" yaml:"tunnel"` Password string `json:"password" yaml:"password"` Timeout int `json:"timeout" yaml:"timeout"` // server options CertFile string `json:"certFile" yaml:"certFile"` KeyFile string `json:"keyFile" yaml:"keyFile"` // client options ConnectTimeout int `json:"connectTimeout" yaml:"connectTimeout"` LocalAddress string `json:"localAddress" yaml:"localAddress"` InsecureSkipVerify bool `json:"insecureSkipVerify" yaml:"insecureSkipVerify"` }
type LoggerConfig ¶ added in v0.1.7
type LoggerConfig struct { Level string `json:"level" yaml:"level"` Format logger.LogFormat `json:"format" yaml:"format"` }
Click to show internal directories.
Click to hide internal directories.