Update config-paladin.md

pull/162/head
Tony 6 years ago committed by GitHub
parent 257d42b23c
commit 19200b067d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      doc/wiki-cn/config-paladin.md

@ -66,7 +66,7 @@ func main() {
# server.go # server.go
func NewServer() { func NewServer() {
# 默认配置用nil # 默认配置用nil,这时读取HTTP/gRPC构架中的flag或者环境变量(可能是docker注入的环境变量,默认端口:8000/9000)
engine := bm.DefaultServer(nil) engine := bm.DefaultServer(nil)
# 除非自己要替换了配置,用http.toml # 除非自己要替换了配置,用http.toml

Loading…
Cancel
Save