mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 20:14:01 +03:00
Modify config
This commit is contained in:
+11
-8
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user