Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 672 Bytes

table.md

File metadata and controls

25 lines (18 loc) · 672 Bytes

6.2 HTTP Server

范式

参考地址

名称 类型 描述
host string server的ip地址,默认127.0.0.1
port string server的port地址
limitListener int 最大监听goroutine数量,待支持
slowThreshold time 大于耗时,记录慢日志,待支持
enableTrace bool 是否开启链路,待支持
enableAccess bool 是否开启日志,待支持
enableMetric bool 是否开监控,待支持

示例

[jupiter.server.http]
  host = "127.0.0.1"
  port = "9091"