add examples for proxy

This commit is contained in:
2022-06-24 13:52:11 -04:00
parent 96189364cb
commit 3b23ec5b32
3 changed files with 5 additions and 2 deletions

View File

@ -51,7 +51,7 @@ type Config struct {
// default proxy url that http.Client can understand
// or socks5://unix/path/to/sock for socks proxy over unix socket
// empty for no proxy
Proxy string `yaml:"proxy" jsonschema:"default="`
Proxy string `yaml:"proxy" jsonschema:"default=,example=socks5://unix/run/tor/socks,example=*myvpsproxy"`
// proxy for telegram if different from default
// NONE to not use global default