1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-03-17 21:07:54 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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