mirror of
https://github.com/bytedance/g3.git
synced 2026-05-05 15:31:21 +00:00
g3proxy: update sphinx doc
This commit is contained in:
parent
5274cc5fa1
commit
8e94c99541
6 changed files with 61 additions and 14 deletions
|
|
@ -6,8 +6,8 @@ Resolver
|
|||
|
||||
The type for each resolver config is *map*, with two always required keys:
|
||||
|
||||
* *name*, which specify the name of the resolver.
|
||||
* *type*, which specify the real type of the resolver, decides how to parse other keys.
|
||||
* :ref:`name <conf_resolver_common_name>`, which specify the name of the resolver.
|
||||
* :ref:`type <conf_resolver_common_type>`, which specify the real type of the resolver, decides how to parse other keys.
|
||||
|
||||
There are many types of resolver, each with a section below.
|
||||
|
||||
|
|
@ -29,6 +29,24 @@ This section describes the common keys, they may be used by many resolvers.
|
|||
|
||||
Most of them are the runtime (of the standalone resolver thread) config.
|
||||
|
||||
.. _conf_resolver_common_name:
|
||||
|
||||
name
|
||||
----
|
||||
|
||||
**required**, **type**: :ref:`metrics name <conf_value_metrics_name>`
|
||||
|
||||
Set the name of the resolver.
|
||||
|
||||
.. _conf_resolver_common_type:
|
||||
|
||||
type
|
||||
----
|
||||
|
||||
**required**, **type**: str
|
||||
|
||||
Set the type of the resolver.
|
||||
|
||||
graceful_stop_wait
|
||||
------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue