# 6.6 Client grpc

# 范式

参考地址 (opens new window)

名称 类型 描述
address string 调用地址
balancerName string 负载均衡算法
block bool 是否阻塞,默认false
dialTimeout time 连接超时时间、默认0s,不超时

# 示例

[jupiter.registry.wh]
    connectTimeout = "1s"
    endpoints=["127.0.0.1:2379"]
    secure = false
[jupiter.client.appname]
    address = "etcd:///main"
    balancerName = "round_robin" # 默认值
    block =  false # 默认值
    dialTimeout = "0s" # 默认值
1
2
3
4
5
6
7
8
9