This commit is contained in:
undefined 2021-08-18 00:54:07 +08:00 committed by GitHub
parent 24deb3aeac
commit 837160b034
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,8 +33,8 @@
- /file/:fileId DELETE 删除文件 ID 指定的文件
- /ws /run 接口的 WebSocket 版
- /metrics 提供 prometheus 版监控 (使用 `ES_ENABLE_METRICS=1` 环境变量开启)
- /debug 提供 go 语调试接口 (使用 `ES_ENABLE_DEBUG=1` 环境变量开启)
- /version 得到本程序编译版本和 go 语运行时版本
- /debug 提供 go 语调试接口 (使用 `ES_ENABLE_DEBUG=1` 环境变量开启)
- /version 得到本程序编译版本和 go 语运行时版本
### 命令行参数
@ -72,7 +72,7 @@
### 环境变量
所以命令行参数都可以通过环境变量的形式来指定,(类似 `ES_HTTP_ADDR` 来指定 `-http-addr`)。使用 `executorserver --help` 查看所环境变量
所以命令行参数都可以通过环境变量的形式来指定,(类似 `ES_HTTP_ADDR` 来指定 `-http-addr`)。使用 `executorserver --help` 查看所环境变量
### 安装和运行