|
|
@ -36,7 +36,7 @@ type config struct {
|
|
|
|
Zookeeper struct {
|
|
|
|
Zookeeper struct {
|
|
|
|
Schema string `yaml:"schema"`
|
|
|
|
Schema string `yaml:"schema"`
|
|
|
|
ZkAddr []string `yaml:"address"`
|
|
|
|
ZkAddr []string `yaml:"address"`
|
|
|
|
UserName string `yaml:"userName"`
|
|
|
|
Username string `yaml:"username"`
|
|
|
|
Password string `yaml:"password"`
|
|
|
|
Password string `yaml:"password"`
|
|
|
|
} `yaml:"zookeeper"`
|
|
|
|
} `yaml:"zookeeper"`
|
|
|
|
|
|
|
|
|
|
|
@ -68,7 +68,7 @@ type config struct {
|
|
|
|
Redis struct {
|
|
|
|
Redis struct {
|
|
|
|
Address []string `yaml:"address"`
|
|
|
|
Address []string `yaml:"address"`
|
|
|
|
Username string `yaml:"username"`
|
|
|
|
Username string `yaml:"username"`
|
|
|
|
Password string `yaml:"passWord"`
|
|
|
|
Password string `yaml:"password"`
|
|
|
|
} `yaml:"redis"`
|
|
|
|
} `yaml:"redis"`
|
|
|
|
|
|
|
|
|
|
|
|
Kafka struct {
|
|
|
|
Kafka struct {
|
|
|
@ -80,7 +80,7 @@ type config struct {
|
|
|
|
} `yaml:"latestMsgToRedis"`
|
|
|
|
} `yaml:"latestMsgToRedis"`
|
|
|
|
MsgToMongo struct {
|
|
|
|
MsgToMongo struct {
|
|
|
|
Topic string `yaml:"topic"`
|
|
|
|
Topic string `yaml:"topic"`
|
|
|
|
} `yaml:"offlineMsgToMongoMysql"`
|
|
|
|
} `yaml:"offlineMsgToMongo"`
|
|
|
|
MsgToPush struct {
|
|
|
|
MsgToPush struct {
|
|
|
|
Topic string `yaml:"topic"`
|
|
|
|
Topic string `yaml:"topic"`
|
|
|
|
} `yaml:"msgToPush"`
|
|
|
|
} `yaml:"msgToPush"`
|
|
|
@ -102,6 +102,7 @@ type config struct {
|
|
|
|
} `yaml:"rpc"`
|
|
|
|
} `yaml:"rpc"`
|
|
|
|
|
|
|
|
|
|
|
|
Api struct {
|
|
|
|
Api struct {
|
|
|
|
|
|
|
|
OpenImApiPort []int `yaml:"openImApiPort"`
|
|
|
|
ListenIP string `yaml:"listenIP"`
|
|
|
|
ListenIP string `yaml:"listenIP"`
|
|
|
|
} `yaml:"api"`
|
|
|
|
} `yaml:"api"`
|
|
|
|
|
|
|
|
|
|
|
@ -156,7 +157,6 @@ type config struct {
|
|
|
|
OpenImAuthPort []int `yaml:"openImAuthPort"`
|
|
|
|
OpenImAuthPort []int `yaml:"openImAuthPort"`
|
|
|
|
OpenImPushPort []int `yaml:"openImPushPort"`
|
|
|
|
OpenImPushPort []int `yaml:"openImPushPort"`
|
|
|
|
OpenImConversationPort []int `yaml:"openImConversationPort"`
|
|
|
|
OpenImConversationPort []int `yaml:"openImConversationPort"`
|
|
|
|
OpenImCachePort []int `yaml:"openImCachePort"`
|
|
|
|
|
|
|
|
OpenImRtcPort []int `yaml:"openImRtcPort"`
|
|
|
|
OpenImRtcPort []int `yaml:"openImRtcPort"`
|
|
|
|
OpenImThirdPort []int `yaml:"openImThirdPort"`
|
|
|
|
OpenImThirdPort []int `yaml:"openImThirdPort"`
|
|
|
|
} `yaml:"rpcPort"`
|
|
|
|
} `yaml:"rpcPort"`
|
|
|
@ -212,7 +212,7 @@ type config struct {
|
|
|
|
} `yaml:"jpns"`
|
|
|
|
} `yaml:"jpns"`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Manager struct {
|
|
|
|
Manager struct {
|
|
|
|
AppManagerUserID []string `yaml:"appManagerUserID"`
|
|
|
|
UserID []string `yaml:"userID"`
|
|
|
|
Nickname []string `yaml:"nickname"`
|
|
|
|
Nickname []string `yaml:"nickname"`
|
|
|
|
} `yaml:"manager"`
|
|
|
|
} `yaml:"manager"`
|
|
|
|
|
|
|
|
|
|
|
|