- Auth(username, password string)
- Update(etcdAddr string)
- RegisterEtcd(schema, serviceName, addr string, port int, ttl int) error
- GetBalanceConn(schema, serviceName string) (conn gRPCs.Client, err error)
-
GetConn(schema, serviceName, addr string, port int) (conn gRPCs.Client, err error)
-
GetConnByHost(schema, serviceName, host string) (conn gRPCs.Client, err error)
- GetConns(schema, serviceName string) (conns []gRPCs.Client)