Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Domains []struct { Name string `yaml:"name"` Interfaces []struct { IfName string `yaml:"ifName"` MatchUnknown4 bool `yaml:"matchUnknown4"` MatchUnknown6 bool `yaml:"matchUnknown6"` Match4 []string `yaml:"match4"` Match6 []string `yaml:"match6"` } `yaml:"interfaces"` } `yaml:"domains"` Loopia struct { Username string `yaml:"username"` Password string `yaml:"password"` } `yaml:"loopia"` ExecuteOnChange string `yaml:"executeOnChange"` }
func ReadConfig ¶
func (*Config) SanityCheck ¶
func (c *Config) SanityCheck()
Click to show internal directories.
Click to hide internal directories.