add proxy settings

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2026-04-11 22:27:13 +02:00
parent fa58485712
commit 86988d9afe
20 changed files with 1276 additions and 38 deletions

View File

@@ -9,9 +9,14 @@ import (
"gopkg.in/yaml.v3"
)
type ProxyEntry struct {
URL string `yaml:"url" json:"url"`
}
type Config struct {
Tools map[string]yaml.Node `yaml:"tools" json:"tools"`
Profiles map[string]Profile `yaml:"profiles" json:"profiles"`
Proxies []ProxyEntry `yaml:"proxies,omitempty" json:"proxies,omitempty"`
Tools map[string]yaml.Node `yaml:"tools" json:"tools"`
Profiles map[string]Profile `yaml:"profiles" json:"profiles"`
}
type Profile struct {