Add Debug option to the config

This commit is contained in:
2024-09-24 22:23:04 +02:00
parent 5888a7821b
commit a0cc3c3e0a
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -14,6 +14,7 @@ type Config struct {
Channels []string `json:"channels"`
GeoIPDatabase string `json:"geoip_database"`
GeoIPASN string `json:"geoip_asn"`
Debug bool `json:"debug"`
}
func LoadConfig(file string) (Config, error) {