g3proxy: make source config in proxy_float escaper optional

This commit is contained in:
Zhang Jingqiang 2023-08-19 22:45:47 +08:00
parent 43f79d192e
commit bbf8459f57
3 changed files with 12 additions and 22 deletions

View file

@ -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
-----