mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-06 05:12:10 +08:00
add etcd
This commit is contained in:
parent
c6c696e2b2
commit
314d08faa7
@ -46,7 +46,7 @@ func NewDiscoveryRegister(zookeeperConfig *config.ZooKeeper, share *config.Share
|
||||
case kubenetesConst:
|
||||
return kubernetes.NewK8sDiscoveryRegister(share.RpcRegisterName.MessageGateway)
|
||||
case etcdConst:
|
||||
return getcd.NewSvcDiscoveryRegistry("openim", []string{"http://localhost:2379"})
|
||||
return getcd.NewSvcDiscoveryRegistry("etcd", []string{"http://localhost:2379"})
|
||||
case directConst:
|
||||
//return direct.NewConnDirect(config)
|
||||
default:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user