Documentation ¶
Index ¶
- Constants
- func GetAllPlatformTokenKey(userID string) []string
- func GetBlackIDsKey(ownerUserID string) string
- func GetConversationHasReadSeqKey(ownerUserID, conversationID string) string
- func GetConversationIDsKey(ownerUserID string) string
- func GetConversationKey(ownerUserID, conversationID string) string
- func GetConversationNotReceiveMessageUserIDsKey(conversationID string) string
- func GetConversationUserMaxVersionKey(userID string) string
- func GetFcmAccountTokenKey(account string, platformID int) string
- func GetFriendIDsKey(ownerUserID string) string
- func GetFriendKey(ownerUserID, friendUserID string) string
- func GetFriendMaxVersionKey(ownerUserID string) string
- func GetGetuiTaskIDKey() string
- func GetGetuiTokenKey() string
- func GetGroupInfoKey(groupID string) string
- func GetGroupMemberIDsKey(groupID string) string
- func GetGroupMemberInfoKey(groupID, userID string) string
- func GetGroupMemberMaxVersionKey(groupID string) string
- func GetGroupMemberNumKey(groupID string) string
- func GetGroupMembersHashKey(groupID string) string
- func GetGroupRoleLevelMemberIDsKey(groupID string, roleLevel int32) string
- func GetIsBlackIDsKey(possibleBlackUserID, userID string) string
- func GetIsFriendKey(possibleFriendUserID, userID string) string
- func GetJoinGroupMaxVersionKey(userID string) string
- func GetJoinedGroupsKey(userID string) string
- func GetLockMessageTypeKey(clientMsgID string, TypeKey string) string
- func GetMallocMinSeqKey(conversationID string) string
- func GetMallocSeqKey(conversationID string) string
- func GetMessageCacheKey(conversationID string, seq int64) string
- func GetMessageDelUserListKey(conversationID string, seq int64) string
- func GetMessageReactionExKey(clientMsgID string, sessionType int32) string
- func GetMinioImageThumbnailKey(key string, format string, width int, height int) string
- func GetNotNotifyConversationIDsKey(ownerUserID string) string
- func GetObjectImageInfoKey(key string) string
- func GetObjectKey(engine string, name string) string
- func GetOnlineKey(userID string) string
- func GetOnlineKeyUserID(key string) string
- func GetPinnedConversationIDs(ownerUserID string) string
- func GetPlatformIDByTokenKey(key string) int
- func GetRecvMsgOptKey(ownerUserID, conversationID string) string
- func GetS3Key(engine string, name string) string
- func GetSendMsgKey(id string) string
- func GetSeqUserMaxSeqKey(conversationID string, userID string) string
- func GetSeqUserMinSeqKey(conversationID string, userID string) string
- func GetSeqUserReadSeqKey(conversationID string, userID string) string
- func GetSuperGroupRecvNotNotifyUserIDsHashKey(groupID string) string
- func GetSuperGroupRecvNotNotifyUserIDsKey(groupID string) string
- func GetTokenKey(userID string, platformID int) string
- func GetTwoWayFriendsIDsKey(ownerUserID string) string
- func GetUserBadgeUnreadCountSumKey(userID string) string
- func GetUserConversationIDsHashKey(ownerUserID string) string
- func GetUserDelListKey(conversationID, userID string) string
- func GetUserGlobalRecvMsgOptKey(userID string) string
- func GetUserInfoKey(userID string) string
Constants ¶
View Source
const ( BlackIDsKey = "BLACK_IDS:" IsBlackKey = "IS_BLACK:" // local cache )
View Source
const ( ConversationKey = "CONVERSATION:" ConversationIDsKey = "CONVERSATION_IDS:" NotNotifyConversationIDsKey = "NOT_NOTIFY_CONVERSATION_IDS:" PinnedConversationIDsKey = "PINNED_CONVERSATION_IDS:" ConversationIDsHashKey = "CONVERSATION_IDS_HASH:" ConversationHasReadSeqKey = "CONVERSATION_HAS_READ_SEQ:" RecvMsgOptKey = "RECV_MSG_OPT:" SuperGroupRecvMsgNotNotifyUserIDsKey = "SUPER_GROUP_RECV_MSG_NOT_NOTIFY_USER_IDS:" SuperGroupRecvMsgNotNotifyUserIDsHashKey = "SUPER_GROUP_RECV_MSG_NOT_NOTIFY_USER_IDS_HASH:" ConversationNotReceiveMessageUserIDsKey = "CONVERSATION_NOT_RECEIVE_MESSAGE_USER_IDS:" ConversationUserMaxKey = "CONVERSATION_USER_MAX:" )
View Source
const ( FriendIDsKey = "FRIEND_IDS:" TwoWayFriendsIDsKey = "COMMON_FRIENDS_IDS:" FriendKey = "FRIEND_INFO:" IsFriendKey = "IS_FRIEND:" // local cache key //FriendSyncSortUserIDsKey = "FRIEND_SYNC_SORT_USER_IDS:" FriendMaxVersionKey = "FRIEND_MAX_VERSION:" )
View Source
const ( GroupInfoKey = "GROUP_INFO:" GroupMemberIDsKey = "GROUP_MEMBER_IDS:" GroupMembersHashKey = "GROUP_MEMBERS_HASH2:" GroupMemberInfoKey = "GROUP_MEMBER_INFO:" JoinedGroupsKey = "JOIN_GROUPS_KEY:" GroupMemberNumKey = "GROUP_MEMBER_NUM_CACHE:" GroupRoleLevelMemberIDsKey = "GROUP_ROLE_LEVEL_MEMBER_IDS:" GroupAdminLevelMemberIDsKey = "GROUP_ADMIN_LEVEL_MEMBER_IDS:" GroupMemberMaxVersionKey = "GROUP_MEMBER_MAX_VERSION:" GroupJoinMaxVersionKey = "GROUP_JOIN_MAX_VERSION:" )
View Source
const ( OnlineKey = "ONLINE:" OnlineChannel = "online_change" OnlineExpire = time.Hour / 2 )
View Source
const ( MallocSeq = "MALLOC_SEQ:" MallocMinSeqLock = "MALLOC_MIN_SEQ:" SeqUserMaxSeq = "SEQ_USER_MAX:" SeqUserMinSeq = "SEQ_USER_MIN:" SeqUserReadSeq = "SEQ_USER_READ:" )
View Source
const ( UserInfoKey = "USER_INFO:" UserGlobalRecvMsgOptKey = "USER_GLOBAL_RECV_MSG_OPT_KEY:" )
View Source
const (
UidPidToken = "UID_PID_TOKEN_STATUS:"
)
Variables ¶
This section is empty.
Functions ¶
func GetAllPlatformTokenKey ¶
func GetBlackIDsKey ¶
func GetConversationIDsKey ¶
func GetConversationKey ¶
func GetFcmAccountTokenKey ¶
func GetFriendIDsKey ¶
func GetFriendKey ¶
func GetFriendMaxVersionKey ¶
func GetGetuiTaskIDKey ¶
func GetGetuiTaskIDKey() string
func GetGetuiTokenKey ¶
func GetGetuiTokenKey() string
func GetGroupInfoKey ¶
func GetGroupMemberIDsKey ¶
func GetGroupMemberInfoKey ¶
func GetGroupMemberNumKey ¶
func GetGroupMembersHashKey ¶
func GetIsBlackIDsKey ¶
func GetIsFriendKey ¶
func GetJoinedGroupsKey ¶
func GetLockMessageTypeKey ¶
func GetMallocMinSeqKey ¶
func GetMallocSeqKey ¶
func GetMessageCacheKey ¶
func GetMessageReactionExKey ¶
func GetNotNotifyConversationIDsKey ¶ added in v3.8.1
func GetObjectImageInfoKey ¶
func GetObjectKey ¶
func GetOnlineKey ¶
func GetOnlineKeyUserID ¶ added in v3.8.1
func GetPinnedConversationIDs ¶ added in v3.8.1
func GetPlatformIDByTokenKey ¶
func GetRecvMsgOptKey ¶
func GetSendMsgKey ¶
func GetSeqUserMaxSeqKey ¶
func GetSeqUserMinSeqKey ¶
func GetSeqUserReadSeqKey ¶
func GetTokenKey ¶
func GetTwoWayFriendsIDsKey ¶
func GetUserDelListKey ¶
func GetUserInfoKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.