-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support get upstream connect time
- Loading branch information
Showing
9 changed files
with
48 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
description: Pingap 配置说明 | ||
--- | ||
|
||
Pingap的大部分参数均是配置toml配置文件来指定,而有一些参数则是需要在启动程序时指定的,具体如下: | ||
|
||
- `conf`或者`c`: 默认为当前目录,指定配置文件或配置文件目录,建议使用目录的形式,便于配置按类型管理 | ||
- `daemon`或者`d`: 可选,是否指定以后台服务的形式启用,若需要使用upgrade的形式无中断式加载新配置,则需要使用此模式 | ||
- `upgrade`或`u`: 可选,以更新程序模式启用,此模式下新的程序会通过unix socket接收原有的程序的请求,避免请求中断 | ||
- `test`: 可选,仅测试配置是否正确 | ||
- `log`: 可选,指定日志输入目录 | ||
- `admin`: 可选,配置admin的监听地址,形式为`base64(user:pass)@ip:port`,其中认证部分是basic auth,若不配置则不校验,建议配置 | ||
- `adminnode`: 可选,是否管理节点,对于使用etcd存储配置的部署使用,设置后此节点只用于配置参数,避免配置有误导致节点无法启动,其它节点则加载对应配置运行。 | ||
- `autorestart`: 可选,是否在配置有更新时自动重启,建议使用此方式达到准实时更新配置的效果 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters