Add Callback option to the config
This commit is contained in:
parent
a0cc3c3e0a
commit
21975e9e47
|
@ -6,5 +6,6 @@
|
||||||
"channels": ["#channel", "#channel2"],
|
"channels": ["#channel", "#channel2"],
|
||||||
"geoip_database": "/app/geolite2-city.mmdb",
|
"geoip_database": "/app/geolite2-city.mmdb",
|
||||||
"geoip_asn": "/app/geolite2-asn.mmdb",
|
"geoip_asn": "/app/geolite2-asn.mmdb",
|
||||||
|
"callback": false,
|
||||||
"debug": false
|
"debug": false
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,6 +14,7 @@ type Config struct {
|
||||||
Channels []string `json:"channels"`
|
Channels []string `json:"channels"`
|
||||||
GeoIPDatabase string `json:"geoip_database"`
|
GeoIPDatabase string `json:"geoip_database"`
|
||||||
GeoIPASN string `json:"geoip_asn"`
|
GeoIPASN string `json:"geoip_asn"`
|
||||||
|
Callback bool `json:"callback"`
|
||||||
Debug bool `json:"debug"`
|
Debug bool `json:"debug"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue