1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-09-16 09:16:35 +02:00

Update config-paladin.md

This commit is contained in:
Tony
2019-06-13 14:57:34 +08:00
committed by GitHub
parent 257d42b23c
commit 19200b067d

View File

@@ -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