mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-25 11:06:43 +08:00
Add etcd as a service discovery mechanism
This commit is contained in:
parent
f2757b099b
commit
3f5fcbad2b
@ -56,14 +56,13 @@ type MsgTransfer struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Config struct {
|
type Config struct {
|
||||||
MsgTransfer config.MsgTransfer
|
MsgTransfer config.MsgTransfer
|
||||||
RedisConfig config.Redis
|
RedisConfig config.Redis
|
||||||
MongodbConfig config.Mongo
|
MongodbConfig config.Mongo
|
||||||
KafkaConfig config.Kafka
|
KafkaConfig config.Kafka
|
||||||
ZookeeperConfig config.ZooKeeper
|
Share config.Share
|
||||||
Share config.Share
|
WebhooksConfig config.Webhooks
|
||||||
WebhooksConfig config.Webhooks
|
Discovery config.Discovery
|
||||||
Discovery config.Discovery
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func Start(ctx context.Context, index int, config *Config) error {
|
func Start(ctx context.Context, index int, config *Config) error {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user