mirror of
https://github.com/MarekWojt/gertdns.git
synced 2025-12-13 20:29:51 +01:00
DNS, Config, Auth, Web (leer)
This commit is contained in:
18
config/config.go
Normal file
18
config/config.go
Normal file
@@ -0,0 +1,18 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user