Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RpcClients ¶
type RpcClients struct {
Clients *sync.Map
ClientCount *sync.Map
KeyPrefix string
EtcdClient *clientv3.Client
// contains filtered or unexported fields
}
func NewRpcClients ¶
func NewRpcClients(etcdConf discov.EtcdConf) *RpcClients
func (*RpcClients) GetConn ¶
func (r *RpcClients) GetConn(symbol string) (*grpc.ClientConn, bool)
func (*RpcClients) Watch ¶
func (r *RpcClients) Watch()
Click to show internal directories.
Click to hide internal directories.