Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Settings ¶
type Settings struct {
Schema string `yaml:"schema"`
MixedAddr string `yaml:"mixed-addr"`
ControllerAddr string `yaml:"controller-addr"`
WebAddr string `yaml:"web-addr"`
ControllerSecret string `yaml:"controller-secret"`
SystemProxyDesired bool `yaml:"system-proxy-desired,omitempty"`
Tun map[string]any `yaml:"tun,omitempty"` // managed block; empty = unmanaged
}
func LoadOrCreate ¶
func LoadOrCreateResult ¶
LoadOrCreateResult loads settings or creates them and reports whether this call created the file.
Click to show internal directories.
Click to hide internal directories.