From ff6a82e0f21b9537afe9d810d959c22870e547a8 Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Mon, 23 Sep 2024 18:42:14 +0200 Subject: [PATCH] create surround parameter on type Variant --- configs.json | 2 ++ util/types.go | 1 + 2 files changed, 3 insertions(+) diff --git a/configs.json b/configs.json index 0561bd7..7485545 100644 --- a/configs.json +++ b/configs.json @@ -7,11 +7,13 @@ "args": [ "http_proxy" ], + "surround": "\"", "type": "variable" }, { "args": [ "https_proxy" ], + "surround": "\"", "type": "variable" } ], diff --git a/util/types.go b/util/types.go index 5c87de4..711f7dc 100644 --- a/util/types.go +++ b/util/types.go @@ -18,6 +18,7 @@ type Variant struct { Arguments []string `json:"args"` Type VariantType `json:"type,omitempty"` Equator string `json:"equator,omitempty"` + Surround string `json:"surround,omitempty"` DiscardProxy bool `json:"discard,omitempty"` }