mirror of
https://github.com/Baipyrus/ProxySwitcher.git
synced 2024-12-26 12:41:45 +00:00
create surround parameter on type Variant
This commit is contained in:
parent
78cd3f1734
commit
ff6a82e0f2
@ -7,11 +7,13 @@
|
|||||||
"args": [
|
"args": [
|
||||||
"http_proxy"
|
"http_proxy"
|
||||||
],
|
],
|
||||||
|
"surround": "\"",
|
||||||
"type": "variable"
|
"type": "variable"
|
||||||
}, {
|
}, {
|
||||||
"args": [
|
"args": [
|
||||||
"https_proxy"
|
"https_proxy"
|
||||||
],
|
],
|
||||||
|
"surround": "\"",
|
||||||
"type": "variable"
|
"type": "variable"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -18,6 +18,7 @@ type Variant struct {
|
|||||||
Arguments []string `json:"args"`
|
Arguments []string `json:"args"`
|
||||||
Type VariantType `json:"type,omitempty"`
|
Type VariantType `json:"type,omitempty"`
|
||||||
Equator string `json:"equator,omitempty"`
|
Equator string `json:"equator,omitempty"`
|
||||||
|
Surround string `json:"surround,omitempty"`
|
||||||
DiscardProxy bool `json:"discard,omitempty"`
|
DiscardProxy bool `json:"discard,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user