mirror of
https://github.com/bytedance/g3.git
synced 2026-05-02 21:50:44 +00:00
g3proxy: make source config in proxy_float escaper optional
This commit is contained in:
parent
43f79d192e
commit
bbf8459f57
3 changed files with 12 additions and 22 deletions
|
|
@ -43,13 +43,15 @@ The following common keys are supported:
|
|||
source
|
||||
------
|
||||
|
||||
**required**, **type**: :ref:`url str <conf_value_url_str>` | map | null
|
||||
**optional**, **type**: :ref:`url str <conf_value_url_str>` | map | null
|
||||
|
||||
Set the fetch source for peers.
|
||||
|
||||
We support many type of sources. The type is detected by reading the *scheme* field of url,
|
||||
or the *type* key of the map. See :ref:`sources <config_escaper_dynamic_source>` for all supported type of sources.
|
||||
|
||||
**default**: passive
|
||||
|
||||
cache
|
||||
-----
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue