mirror of
https://github.com/MarekWojt/gertdns.git
synced 2025-12-13 12:19:53 +01:00
19 lines
255 B
Go
19 lines
255 B
Go
package config
|
|
|
|
var Config *Configuration = nil
|
|
|
|
type Configuration struct {
|
|
Port uint16
|
|
Host string
|
|
Domains []string
|
|
}
|
|
|
|
func Load() error {
|
|
Config = &Configuration{
|
|
Port: 5353,
|
|
Host: "0.0.0.0",
|
|
Domains: []string{},
|
|
}
|
|
return nil
|
|
}
|