|
|
@@ -34,6 +34,7 @@ type Config struct {
|
|
34
|
34
|
} `json:"public-ip"`
|
|
35
|
35
|
Timeout struct {
|
|
36
|
36
|
TCP TypeDuration `json:"tcp"`
|
|
|
37
|
+ HTTP TypeDuration `json:"http"`
|
|
37
|
38
|
Idle TypeDuration `json:"idle"`
|
|
38
|
39
|
} `json:"timeout"`
|
|
39
|
40
|
DOHIP TypeIP `json:"doh-ip"`
|
|
|
@@ -103,6 +104,7 @@ type configRaw struct {
|
|
103
|
104
|
} `toml:"public-ip" json:"public-ip,omitempty"`
|
|
104
|
105
|
Timeout struct {
|
|
105
|
106
|
TCP string `toml:"tcp" json:"tcp,omitempty"`
|
|
|
107
|
+ HTTP string `toml:"http" json:"http,omitempty"`
|
|
106
|
108
|
Idle string `toml:"idle" json:"idle,omitempty"`
|
|
107
|
109
|
} `toml:"timeout" json:"timeout,omitempty"`
|
|
108
|
110
|
DOHIP string `toml:"doh-ip" json:"doh-ip,omitempty"`
|