Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ListenAddr string `yaml:"listenaddr"`
ListenPort int `yaml:"listenport"`
// Resolvers are a list of IPs to send DNS queries to
Resolvers []string `yaml:"resolvers"`
Debug bool `yaml:"debug"`
}
Config is the Server Config
func LoadConfig ¶
LoadConfig loads a config from a byte buffer
Click to show internal directories.
Click to hide internal directories.