cachekey

package
v3.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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 GetBlackIDsKey(ownerUserID string) string

func GetConversationHasReadSeqKey

func GetConversationHasReadSeqKey(ownerUserID, conversationID string) string

func GetConversationIDsKey

func GetConversationIDsKey(ownerUserID string) string

func GetConversationKey

func GetConversationKey(ownerUserID, conversationID string) string

func GetConversationNotReceiveMessageUserIDsKey

func GetConversationNotReceiveMessageUserIDsKey(conversationID string) string

func GetFriendIDsKey

func GetFriendIDsKey(ownerUserID string) string

func GetFriendKey

func GetFriendKey(ownerUserID, friendUserID string) string

func GetGroupInfoKey

func GetGroupInfoKey(groupID string) string

func GetGroupMemberIDsKey

func GetGroupMemberIDsKey(groupID string) string

func GetGroupMemberInfoKey

func GetGroupMemberInfoKey(groupID, userID string) string

func GetGroupMemberNumKey

func GetGroupMemberNumKey(groupID string) string

func GetGroupMembersHashKey

func GetGroupMembersHashKey(groupID string) string

func GetGroupRoleLevelMemberIDsKey

func GetGroupRoleLevelMemberIDsKey(groupID string, roleLevel int32) string

func GetIsBlackIDsKey

func GetIsBlackIDsKey(possibleBlackUserID, userID string) string

func GetIsFriendKey

func GetIsFriendKey(possibleFriendUserID, userID string) string

func GetJoinedGroupsKey

func GetJoinedGroupsKey(userID string) string

func GetRecvMsgOptKey

func GetRecvMsgOptKey(ownerUserID, conversationID string) string

func GetSuperGroupRecvNotNotifyUserIDsHashKey

func GetSuperGroupRecvNotNotifyUserIDsHashKey(groupID string) string

func GetSuperGroupRecvNotNotifyUserIDsKey

func GetSuperGroupRecvNotNotifyUserIDsKey(groupID string) string

func GetTokenKey

func GetTokenKey(userID string, platformID int) string

func GetTwoWayFriendsIDsKey

func GetTwoWayFriendsIDsKey(ownerUserID string) string

func GetUserConversationIDsHashKey

func GetUserConversationIDsHashKey(ownerUserID string) string

func GetUserGlobalRecvMsgOptKey

func GetUserGlobalRecvMsgOptKey(userID string) string

func GetUserInfoKey

func GetUserInfoKey(userID string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL