Documentation
¶
Index ¶
- Constants
- 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 GetFriendIDsKey(ownerUserID string) string
- func GetFriendKey(ownerUserID, friendUserID string) string
- func GetGroupInfoKey(groupID string) string
- func GetGroupMemberIDsKey(groupID string) string
- func GetGroupMemberInfoKey(groupID, userID 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 GetJoinedGroupsKey(userID string) string
- func GetRecvMsgOptKey(ownerUserID, conversationID 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 GetUserConversationIDsHashKey(ownerUserID 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:" 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:" )
View Source
const ( FriendIDsKey = "FRIEND_IDS:" TwoWayFriendsIDsKey = "COMMON_FRIENDS_IDS:" FriendKey = "FRIEND_INFO:" IsFriendKey = "IS_FRIEND:" // local cache key )
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:" )
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 GetBlackIDsKey ¶
func GetConversationIDsKey ¶
func GetConversationKey ¶
func GetFriendIDsKey ¶
func GetFriendKey ¶
func GetGroupInfoKey ¶
func GetGroupMemberIDsKey ¶
func GetGroupMemberInfoKey ¶
func GetGroupMemberNumKey ¶
func GetGroupMembersHashKey ¶
func GetIsBlackIDsKey ¶
func GetIsFriendKey ¶
func GetJoinedGroupsKey ¶
func GetRecvMsgOptKey ¶
func GetTokenKey ¶
func GetTwoWayFriendsIDsKey ¶
func GetUserInfoKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.