Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallbackConfig ¶
type CallbackConfig struct {
CallbackBeforeSendGroupMsg CallbackConfigItem
CallbackAfterSendGroupMsg CallbackConfigItem
CallbackBeforeSendSingleMsg CallbackConfigItem
CallbackAfterSendSingleMsg CallbackConfigItem
}
type CallbackConfigItem ¶
type CassandraConfig ¶
type CassandraConfig struct {
xcql.CassandraConfig
SingleChatMsgTableName string
GroupChatMsgTableName string
}
type Config ¶
type Config struct {
zrpc.RpcServerConf
Kafka xkafka.ProducerConfig
Callback CallbackConfig
MessageVerify MessageVerifyConfig
ImUserRpc zrpc.RpcClientConf
MsgCallbackRpc zrpc.RpcClientConf
RedisConfig RedisConfig
Mongo MongoConfig
Cassandra CassandraConfig
HistoryDBType string // mongo or cassandra
}
type MessageVerifyConfig ¶
type MessageVerifyConfig struct {
FriendVerify bool // 只有好友才能发送消息
}
type MongoConfig ¶
type RedisConfig ¶
Click to show internal directories.
Click to hide internal directories.