Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultConfig ¶
func GetDefaultConfig() string
Types ¶
type Config ¶
type Config struct { Tunnel struct { SetDefaultGateway bool `yaml:"set-default-gateway"` Ping shared_cli.PingConfig `yaml:"ping"` Features features.Config `yaml:"features"` } `yaml:"tunnel"` Interface iface.InterfaceConfig `yaml:"interface"` FirewallMark int `yaml:"firewall-mark"` Scripts shared.EventConfig `yaml:"scripts"` Client struct { Server string `yaml:"server"` Headers http.Header `yaml:"headers"` Proxy string `yaml:"proxy"` AuthFile string `yaml:"auth-file"` AutoReconnectDelay time.Duration `yaml:"auto-reconnect-delay"` TLS struct { CA string `yaml:"ca"` Certificate string `yaml:"certificate"` Key string `yaml:"key"` ServerName string `yaml:"server-name"` Config shared_cli.TLSConfig `yaml:"config"` } `yaml:"tls"` } }
Click to show internal directories.
Click to hide internal directories.