Add Callback option to the config

This commit is contained in:
null31 2024-09-24 23:04:04 +02:00
parent a0cc3c3e0a
commit 21975e9e47
Signed by: null31
GPG Key ID: CAB4CF4EE49720FF
2 changed files with 2 additions and 0 deletions

View File

@ -6,5 +6,6 @@
"channels": ["#channel", "#channel2"],
"geoip_database": "/app/geolite2-city.mmdb",
"geoip_asn": "/app/geolite2-asn.mmdb",
"callback": false,
"debug": false
}

View File

@ -14,6 +14,7 @@ type Config struct {
Channels []string `json:"channels"`
GeoIPDatabase string `json:"geoip_database"`
GeoIPASN string `json:"geoip_asn"`
Callback bool `json:"callback"`
Debug bool `json:"debug"`
}