Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
zrpc.RpcServerConf
PushType string `json:",default=jpns,options=jpns|mobpush"`
Jpns JpnsConf `json:",optional"`
MobPush MobPushConf `json:",optional"`
ImUserRpc zrpc.RpcClientConf
OfflinePushDefaultTitle string // 默认的离线推送标题
OfflinePushGroupTitle string // 群聊消息推送标题
SinglePushConsumer SinglePushConsumerConfig
GroupPushConsumer GroupPushConsumerConfig
Redis redis.RedisConf
}
type GroupPushConsumerConfig ¶
type GroupPushConsumerConfig struct {
xkafka.ProducerConfig
GroupPushGroupID string
}
type MobPushConf ¶
type SinglePushConsumerConfig ¶
type SinglePushConsumerConfig struct {
xkafka.ProducerConfig
SinglePushGroupID string
}
Click to show internal directories.
Click to hide internal directories.