go-zero/example/graceful/etcd/api/etc/graceful-api.json
2020-09-18 11:41:52 +08:00

13 lines
214 B
JSON

{
"Name": "graceful-api",
"Host": "0.0.0.0",
"Port": 8888,
"MaxConns": 1000000,
"Rpc": {
"Etcd": {
"Hosts": ["etcd.discov:2379"],
"Key": "zrpc"
}
}
}