|
|
@ -21,21 +21,21 @@ import (
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
const (
|
|
|
|
NotificationUserIncrSeq = "REDIS_USER_INCR_SEQ:" // user incr seq
|
|
|
|
NotificationUserIncrSeq = "NOTIFICATION_REDIS_USER_INCR_SEQ:" // user incr seq
|
|
|
|
NotificationUserMinSeq = "REDIS_USER_MIN_SEQ:"
|
|
|
|
NotificationUserMinSeq = "NOTIFICATION_REDIS_USER_MIN_SEQ:"
|
|
|
|
NotificationGetuiToken = "GETUI_TOKEN"
|
|
|
|
NotificationGetuiToken = "NOTIFICATION_GETUI_TOKEN"
|
|
|
|
NotificationGetuiTaskID = "GETUI_TASK_ID"
|
|
|
|
NotificationGetuiTaskID = "NOTIFICATION_GETUI_TASK_ID"
|
|
|
|
NotificationMessageCache = "MESSAGE_CACHE:"
|
|
|
|
NotificationMessageCache = "NOTIFICATION_MESSAGE_CACHE:"
|
|
|
|
NotificationSignalCache = "SIGNAL_CACHE:"
|
|
|
|
NotificationSignalCache = "NOTIFICATION_SIGNAL_CACHE:"
|
|
|
|
NotificationSignalListCache = "SIGNAL_LIST_CACHE:"
|
|
|
|
NotificationSignalListCache = "NOTIFICATION_SIGNAL_LIST_CACHE:"
|
|
|
|
NotificationFcmToken = "FCM_TOKEN:"
|
|
|
|
NotificationFcmToken = "NOTIFICATION_FCM_TOKEN:"
|
|
|
|
NotificationGroupUserMinSeq = "GROUP_USER_MIN_SEQ:"
|
|
|
|
NotificationGroupUserMinSeq = "NOTIFICATION_GROUP_USER_MIN_SEQ:"
|
|
|
|
NotificationGroupMaxSeq = "GROUP_MAX_SEQ:"
|
|
|
|
NotificationGroupMaxSeq = "NOTIFICATION_GROUP_MAX_SEQ:"
|
|
|
|
NotificationGroupMinSeq = "GROUP_MIN_SEQ:"
|
|
|
|
NotificationGroupMinSeq = "NOTIFICATION_GROUP_MIN_SEQ:"
|
|
|
|
NotificationSendMsgFailedFlag = "SEND_MSG_FAILED_FLAG:"
|
|
|
|
NotificationSendMsgFailedFlag = "NOTIFICATION_SEND_MSG_FAILED_FLAG:"
|
|
|
|
NotificationUserBadgeUnreadCountSum = "USER_BADGE_UNREAD_COUNT_SUM:"
|
|
|
|
NotificationUserBadgeUnreadCountSum = "NOTIFICATION_USER_BADGE_UNREAD_COUNT_SUM:"
|
|
|
|
NotificationExTypeKeyLocker = "EX_LOCK:"
|
|
|
|
NotificationExTypeKeyLocker = "NOTIFICATION_EX_LOCK:"
|
|
|
|
NotificationUidPidToken = "UID_PID_TOKEN_STATUS:"
|
|
|
|
NotificationUidPidToken = "NOTIFICATION_UID_PID_TOKEN_STATUS:"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
type NotificationModel interface {
|
|
|
|
type NotificationModel interface {
|
|
|
|