mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 15:14:03 +03:00
Propagate keep alive settings from the config
This commit is contained in:
@@ -65,6 +65,12 @@ type Config struct {
|
||||
Idle TypeDuration `json:"idle"`
|
||||
Handshake TypeDuration `json:"handshake"`
|
||||
} `json:"timeout"`
|
||||
KeepAlive struct {
|
||||
Disabled TypeBool `json:"disabled"`
|
||||
Idle TypeDuration `json:"idle"`
|
||||
Interval TypeDuration `json:"interval"`
|
||||
Count TypeConcurrency `json:"count"`
|
||||
} `json:"keepAlive"`
|
||||
DOHIP TypeIP `json:"dohIp"`
|
||||
DNS TypeDNSURI `json:"dns"`
|
||||
Proxies []TypeProxyURL `json:"proxies"`
|
||||
|
||||
Reference in New Issue
Block a user