Modify config

This commit is contained in:
9seconds
2021-03-05 16:17:34 +03:00
parent d5147f1935
commit 09f8233bc6
4 changed files with 67 additions and 43 deletions
+11 -8
View File
@@ -26,14 +26,17 @@ type rawConfig struct {
TTL string `toml:"ttl"`
} `toml:"anti-replay"`
} `toml:"probes"`
PublicIP struct {
IPv4 string `toml:"ipv4"`
IPv6 string `toml:"ipv6"`
} `toml:"public-ip"`
Dialers struct {
Telegram string `toml:"telegram"`
Default string `toml:"default"`
} `toml:"dialers"`
Network struct {
PublicIP struct {
IPv4 string `toml:"ipv4"`
IPv6 string `toml:"ipv6"`
} `toml:"public-ip"`
Dialers struct {
Telegram string `toml:"telegram"`
Default string `toml:"default"`
} `toml:"dialers"`
DOHHostname string `toml:"doh-hostname"`
} `toml:"network"`
Stats struct {
StatsD struct {
Enabled bool `toml:"enabled"`