rocksCache

package
v0.0.0-...-4702bed Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DelAllDepartmentMembersFromCache

func DelAllDepartmentMembersFromCache() error

func DelAllDepartmentsFromCache

func DelAllDepartmentsFromCache() error

func DelAllFriendsInfoFromCache

func DelAllFriendsInfoFromCache(userID string) error

func DelAllGroupMembersInfoFromCache

func DelAllGroupMembersInfoFromCache(groupID string) error

func DelBlackIDListFromCache

func DelBlackIDListFromCache(userID string) error

func DelConversationFromCache

func DelConversationFromCache(ownerUserID, conversationID string) error

func DelExtendMsg

func DelExtendMsg(ID string, index int32, clientMsgID string) error

func DelFriendIDListFromCache

func DelFriendIDListFromCache(userID string) error

func DelGroupInfoFromCache

func DelGroupInfoFromCache(groupID string) error

func DelGroupMemberIDListFromCache

func DelGroupMemberIDListFromCache(groupID string) error

func DelGroupMemberInfoFromCache

func DelGroupMemberInfoFromCache(groupID, userID string) error

func DelGroupMemberListHashFromCache

func DelGroupMemberListHashFromCache(groupID string) error

func DelGroupMemberNumFromCache

func DelGroupMemberNumFromCache(groupID string) error

func DelJoinedGroupIDListFromCache

func DelJoinedGroupIDListFromCache(userID string) error

func DelJoinedSuperGroupIDListFromCache

func DelJoinedSuperGroupIDListFromCache(userID string) error

func DelKeys

func DelKeys()

func DelUserConversationIDListFromCache

func DelUserConversationIDListFromCache(userID string) error

func DelUserInfoFromCache

func DelUserInfoFromCache(userID string) error

func GetAllDepartmentMembersFromCache

func GetAllDepartmentMembersFromCache() ([]db.DepartmentMember, error)

func GetAllDepartmentsFromCache

func GetAllDepartmentsFromCache() ([]db.Department, error)

func GetAllFriendsInfoFromCache

func GetAllFriendsInfoFromCache(userID string) ([]*db.Friend, error)

func GetAllGroupMembersInfoFromCache

func GetAllGroupMembersInfoFromCache(groupID string) ([]*db.GroupMember, error)

func GetBlackListFromCache

func GetBlackListFromCache(userID string) ([]string, error)

func GetConversationFromCache

func GetConversationFromCache(ownerUserID, conversationID string) (*db.Conversation, error)

func GetConversationsFromCache

func GetConversationsFromCache(ownerUserID string, conversationIDList []string) ([]db.Conversation, error)

func GetExtendMsg

func GetExtendMsg(sourceID string, sessionType int32, clientMsgID string, firstModifyTime int64) (*db.ExtendMsg, error)

func GetFriendIDListFromCache

func GetFriendIDListFromCache(userID string) ([]string, error)

func GetGroupInfoFromCache

func GetGroupInfoFromCache(groupID string) (*db.Group, error)

func GetGroupMemberIDListFromCache

func GetGroupMemberIDListFromCache(groupID string) ([]string, error)

func GetGroupMemberInfoFromCache

func GetGroupMemberInfoFromCache(groupID, userID string) (*db.GroupMember, error)

func GetGroupMemberListHashFromCache

func GetGroupMemberListHashFromCache(groupID string) (uint64, error)

func GetGroupMemberNumFromCache

func GetGroupMemberNumFromCache(groupID string) (int64, error)

func GetGroupMembersInfoFromCache

func GetGroupMembersInfoFromCache(count, offset int32, groupID string) ([]*db.GroupMember, error)

func GetJoinedGroupIDListFromCache

func GetJoinedGroupIDListFromCache(userID string) ([]string, error)

func GetJoinedSuperGroupListFromCache

func GetJoinedSuperGroupListFromCache(userID string) ([]string, error)

func GetUserAllConversationList

func GetUserAllConversationList(ownerUserID string) ([]db.Conversation, error)

func GetUserConversationIDListFromCache

func GetUserConversationIDListFromCache(userID string) ([]string, error)

func GetUserInfoFromCache

func GetUserInfoFromCache(userID string) (*db.User, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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