mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-13 16:47:36 +08:00
34 lines
487 B
Go
34 lines
487 B
Go
package common
|
|
|
|
// MySQL
|
|
// V2
|
|
const (
|
|
UsernameV2 = "root"
|
|
PasswordV2 = "openIM123"
|
|
IpV2 = "43.128.72.19:13306"
|
|
DatabaseV2 = "openIM_v2"
|
|
)
|
|
|
|
// V3
|
|
const (
|
|
UsernameV3 = "root"
|
|
PasswordV3 = "openIM123"
|
|
IpV3 = "43.134.63.160:13306"
|
|
DatabaseV3 = "openIM_v3"
|
|
)
|
|
|
|
// Kafka
|
|
const (
|
|
Topic = "ws2ms_chat"
|
|
KafkaAddr = "127.0.0.1:9092"
|
|
)
|
|
|
|
// Zookeeper
|
|
const (
|
|
ZkAddr = "43.134.63.160:2181"
|
|
ZKSchema = "openim"
|
|
ZKUsername = ""
|
|
ZKPassword = ""
|
|
MsgRpcName = "Msg"
|
|
)
|