Documentation ¶
Index ¶
- Variables
- type DataBase
- func (d *DataBase) AddMemberCount(groupID string) error
- func (d *DataBase) BatchInsertConversationList(conversationList []*model_struct.LocalConversation) error
- func (d *DataBase) BatchInsertConversationUnreadMessageList(messageList []*model_struct.LocalConversationUnreadMessage) error
- func (d *DataBase) BatchInsertDepartmentMember(departmentMemberList []*model_struct.LocalDepartmentMember) error
- func (d *DataBase) BatchInsertExceptionMsg(MessageList []*model_struct.LocalErrChatLog) error
- func (d *DataBase) BatchInsertExceptionMsgController(MessageList []*model_struct.LocalErrChatLog) error
- func (d *DataBase) BatchInsertGroupMember(groupMemberList []*model_struct.LocalGroupMember) error
- func (d *DataBase) BatchInsertMessageList(MessageList []*model_struct.LocalChatLog) error
- func (d *DataBase) BatchInsertMessageListController(MessageList []*model_struct.LocalChatLog) error
- func (d *DataBase) BatchInsertTempCacheMessageList(MessageList []*model_struct.TempCacheLocalChatLog) error
- func (d *DataBase) BatchSpecialUpdateMessageList(MessageList []*model_struct.LocalChatLog) error
- func (d *DataBase) BatchUpdateConversationList(conversationList []*model_struct.LocalConversation) error
- func (d *DataBase) BatchUpdateMessageList(MessageList []*model_struct.LocalChatLog) error
- func (d *DataBase) CleaAllConversation() error
- func (d *DataBase) ClearConversation(conversationID string) error
- func (d *DataBase) ClearWorkMomentsNotification() (err error)
- func (d *DataBase) CloseDB(operationID string) error
- func (d *DataBase) ConversationIfExists(conversationID string) (bool, error)
- func (d *DataBase) DecrConversationUnreadCount(conversationID string, count int64) (err error)
- func (d *DataBase) DeleteAdminGroupRequest(groupID, userID string) error
- func (d *DataBase) DeleteAllMessage() error
- func (d *DataBase) DeleteAllSuperGroup() error
- func (d *DataBase) DeleteBlack(blockUserID string) error
- func (d *DataBase) DeleteConversation(conversationID string) error
- func (d *DataBase) DeleteConversationUnreadMessageList(conversationID string, sendTime int64) int64
- func (d *DataBase) DeleteDepartment(departmentID string) error
- func (d *DataBase) DeleteDepartmentMember(departmentID string, userID string) error
- func (d *DataBase) DeleteFriend(friendUserID string) error
- func (d *DataBase) DeleteFriendRequestBothUserID(fromUserID, toUserID string) error
- func (d *DataBase) DeleteGroup(groupID string) error
- func (d *DataBase) DeleteGroupAllMembers(groupID string) error
- func (d *DataBase) DeleteGroupMember(groupID, userID string) error
- func (d *DataBase) DeleteGroupRequest(groupID, userID string) error
- func (d *DataBase) DeleteSuperGroup(groupID string) error
- func (d *DataBase) GetAbnormalMsgSeq() (uint32, error)
- func (d *DataBase) GetAbnormalMsgSeqList() ([]uint32, error)
- func (d *DataBase) GetAdminGroupApplication() ([]*model_struct.LocalAdminGroupRequest, error)
- func (d *DataBase) GetAllConversationList() ([]*model_struct.LocalConversation, error)
- func (d *DataBase) GetAllConversationListToSync() ([]*model_struct.LocalConversation, error)
- func (d *DataBase) GetAllDepartmentList() ([]*model_struct.LocalDepartment, error)
- func (d *DataBase) GetAllDepartmentMemberList() ([]*model_struct.LocalDepartmentMember, error)
- func (d *DataBase) GetAllFriendList() ([]*model_struct.LocalFriend, error)
- func (d *DataBase) GetAllGroupInfoByGroupIDOrGroupName(keyword string, isSearchGroupID bool, isSearchGroupName bool) ([]*model_struct.LocalGroup, error)
- func (d *DataBase) GetAllGroupMemberList() ([]model_struct.LocalGroupMember, error)
- func (d *DataBase) GetAllGroupMemberUserIDList() ([]model_struct.LocalGroupMember, error)
- func (d *DataBase) GetAllUnDeleteMessageSeqList() ([]uint32, error)
- func (d *DataBase) GetBlackInfoByBlockUserID(blockUserID string) (*model_struct.LocalBlack, error)
- func (d *DataBase) GetBlackInfoList(blockUserIDList []string) ([]*model_struct.LocalBlack, error)
- func (d *DataBase) GetBlackList() ([]*model_struct.LocalBlack, error)
- func (d *DataBase) GetBlackListUserID() (blackListUid []string, err error)
- func (d *DataBase) GetConversation(conversationID string) (*model_struct.LocalConversation, error)
- func (d *DataBase) GetConversationByUserID(userID string) (*model_struct.LocalConversation, error)
- func (d *DataBase) GetConversationListSplit(offset, count int) ([]*model_struct.LocalConversation, error)
- func (d *DataBase) GetDepartmentInfo(departmentID string) (*model_struct.LocalDepartment, error)
- func (d *DataBase) GetDepartmentMemberListByDepartmentID(departmentID string, args ...int) ([]*model_struct.LocalDepartmentMember, error)
- func (d *DataBase) GetDepartmentMemberListByUserID(userID string) ([]*model_struct.LocalDepartmentMember, error)
- func (d *DataBase) GetFriendApplicationByBothID(fromUserID, toUserID string) (*model_struct.LocalFriendRequest, error)
- func (d *DataBase) GetFriendInfoByFriendUserID(FriendUserID string) (*model_struct.LocalFriend, error)
- func (d *DataBase) GetFriendInfoList(friendUserIDList []string) ([]*model_struct.LocalFriend, error)
- func (d *DataBase) GetGroupAdminID(groupID string) ([]string, error)
- func (d *DataBase) GetGroupInfoByGroupID(groupID string) (*model_struct.LocalGroup, error)
- func (d *DataBase) GetGroupMemberCount(groupID string) (uint32, error)
- func (d *DataBase) GetGroupMemberInfoByGroupIDUserID(groupID, userID string) (*model_struct.LocalGroupMember, error)
- func (d *DataBase) GetGroupMemberInfoIfOwnerOrAdmin() ([]*model_struct.LocalGroupMember, error)
- func (d *DataBase) GetGroupMemberListByGroupID(groupID string) ([]*model_struct.LocalGroupMember, error)
- func (d *DataBase) GetGroupMemberListSplit(groupID string, filter int32, offset, count int) ([]*model_struct.LocalGroupMember, error)
- func (d *DataBase) GetGroupMemberListSplitByJoinTimeFilter(groupID string, offset, count int, joinTimeBegin, joinTimeEnd int64, ...) ([]*model_struct.LocalGroupMember, error)
- func (d *DataBase) GetGroupMemberOwner(groupID string) (*model_struct.LocalGroupMember, error)
- func (d *DataBase) GetGroupMemberOwnerAndAdmin(groupID string) ([]*model_struct.LocalGroupMember, error)
- func (d *DataBase) GetGroupMemberUIDListByGroupID(groupID string) (result []string, err error)
- func (d *DataBase) GetGroupMinSeq(groupID string) (uint32, error)
- func (d *DataBase) GetGroupOwnerAndAdminByGroupID(groupID string) ([]*model_struct.LocalGroupMember, error)
- func (d *DataBase) GetGroupSomeMemberInfo(groupID string, userIDList []string) ([]*model_struct.LocalGroupMember, error)
- func (d *DataBase) GetHiddenConversationList() ([]*model_struct.LocalConversation, error)
- func (d *DataBase) GetJoinedGroupList() ([]*model_struct.LocalGroup, error)
- func (d *DataBase) GetJoinedSuperGroupIDList() ([]string, error)
- func (d *DataBase) GetJoinedSuperGroupList() ([]*model_struct.LocalGroup, error)
- func (d *DataBase) GetJoinedWorkingGroupIDList() ([]string, error)
- func (d *DataBase) GetJoinedWorkingGroupList() ([]*model_struct.LocalGroup, error)
- func (d *DataBase) GetLoginUser(userID string) (*model_struct.LocalUser, error)
- func (d *DataBase) GetLostMsgSeqList(minSeqInSvr uint32) ([]uint32, error)
- func (d *DataBase) GetMessage(ClientMsgID string) (*model_struct.LocalChatLog, error)
- func (d *DataBase) GetMessageController(msg *sdk_struct.MsgStruct) (*model_struct.LocalChatLog, error)
- func (d *DataBase) GetMessageList(sourceID string, sessionType, count int, startTime int64, isReverse bool) (result []*model_struct.LocalChatLog, err error)
- func (d *DataBase) GetMessageListController(sourceID string, sessionType, count int, startTime int64, isReverse bool) (result []*model_struct.LocalChatLog, err error)
- func (d *DataBase) GetMessageListNoTime(sourceID string, sessionType, count int, isReverse bool) (result []*model_struct.LocalChatLog, err error)
- func (d *DataBase) GetMessageListNoTimeController(sourceID string, sessionType, count int, isReverse bool) (result []*model_struct.LocalChatLog, err error)
- func (d *DataBase) GetMinSeq(ID string) (uint32, error)
- func (d *DataBase) GetMsgSeqByClientMsgID(clientMsgID string) (uint32, error)
- func (d *DataBase) GetMsgSeqByClientMsgIDController(m *sdk_struct.MsgStruct) (uint32, error)
- func (d *DataBase) GetMsgSeqListByGroupID(groupID string) ([]uint32, error)
- func (d *DataBase) GetMsgSeqListByPeerUserID(userID string) ([]uint32, error)
- func (d *DataBase) GetMsgSeqListBySelfUserID(userID string) ([]uint32, error)
- func (d *DataBase) GetMultipleConversation(conversationIDList []string) (result []*model_struct.LocalConversation, err error)
- func (d *DataBase) GetMultipleMessage(msgIDList []string) (result []*model_struct.LocalChatLog, err error)
- func (d *DataBase) GetMultipleMessageController(msgIDList []string, groupID string, sessionType int32) (result []*model_struct.LocalChatLog, err error)
- func (d *DataBase) GetNormalMsgSeq() (uint32, error)
- func (d *DataBase) GetParentDepartmentList(departmentID string) ([]*model_struct.LocalDepartment, error)
- func (d *DataBase) GetReadDiffusionGroupIDList() ([]string, error)
- func (d *DataBase) GetRecvFriendApplication() ([]*model_struct.LocalFriendRequest, error)
- func (d *DataBase) GetSendFriendApplication() ([]*model_struct.LocalFriendRequest, error)
- func (d *DataBase) GetSendGroupApplication() ([]*model_struct.LocalGroupRequest, error)
- func (d *DataBase) GetSendingMessageList() (result []*model_struct.LocalChatLog, err error)
- func (d *DataBase) GetSubDepartmentList(departmentID string, args ...int) ([]*model_struct.LocalDepartment, error)
- func (d *DataBase) GetSuperGroupAbnormalMsgSeq(groupID string) (uint32, error)
- func (d *DataBase) GetSuperGroupInfoByGroupID(groupID string) (*model_struct.LocalGroup, error)
- func (d *DataBase) GetSuperGroupNormalMsgSeq(groupID string) (uint32, error)
- func (d *DataBase) GetTestMessage(seq uint32) (*model_struct.LocalChatLog, error)
- func (d *DataBase) GetTotalUnreadMsgCount() (totalUnreadCount int32, err error)
- func (d *DataBase) GetUserMinSeq() (uint32, error)
- func (d *DataBase) GetWorkMomentsNotification(offset, count int) (WorkMomentsNotifications []*LocalWorkMomentsNotification, err error)
- func (d *DataBase) GetWorkMomentsNotificationLimit(pageNumber, showNumber int) (WorkMomentsNotifications []*LocalWorkMomentsNotification, err error)
- func (d *DataBase) GetWorkMomentsUnReadCount() (workMomentsNotificationUnReadCount LocalWorkMomentsNotificationUnreadCount, ...)
- func (d *DataBase) IncrConversationUnreadCount(conversationID string) error
- func (d *DataBase) IncrWorkMomentsNotificationUnreadCount() error
- func (d *DataBase) InitWorkMomentsNotificationUnreadCount() error
- func (d *DataBase) InsertAdminGroupRequest(groupRequest *model_struct.LocalAdminGroupRequest) error
- func (d *DataBase) InsertBlack(black *model_struct.LocalBlack) error
- func (d *DataBase) InsertConversation(conversationList *model_struct.LocalConversation) error
- func (d *DataBase) InsertDepartment(department *model_struct.LocalDepartment) error
- func (d *DataBase) InsertDepartmentMember(departmentMember *model_struct.LocalDepartmentMember) error
- func (d *DataBase) InsertFriend(friend *model_struct.LocalFriend) error
- func (d *DataBase) InsertFriendRequest(friendRequest *model_struct.LocalFriendRequest) error
- func (d *DataBase) InsertGroup(groupInfo *model_struct.LocalGroup) error
- func (d *DataBase) InsertGroupMember(groupMember *model_struct.LocalGroupMember) error
- func (d *DataBase) InsertGroupRequest(groupRequest *model_struct.LocalGroupRequest) error
- func (d *DataBase) InsertLoginUser(user *model_struct.LocalUser) error
- func (d *DataBase) InsertMessage(Message *model_struct.LocalChatLog) error
- func (d *DataBase) InsertMessageController(message *model_struct.LocalChatLog) error
- func (d *DataBase) InsertSuperGroup(groupInfo *model_struct.LocalGroup) error
- func (d *DataBase) InsertTempCacheMessage(Message *model_struct.TempCacheLocalChatLog) error
- func (d *DataBase) InsertWorkMomentsNotification(jsonDetail string) error
- func (d *DataBase) IsExistsInErrChatLogBySeq(seq int64) bool
- func (d *DataBase) MarkAllWorkMomentsNotificationAsRead() (err error)
- func (d *DataBase) MessageIfExists(ClientMsgID string) (bool, error)
- func (d *DataBase) MessageIfExistsBySeq(seq int64) (bool, error)
- func (d *DataBase) RemoveConversationDraft(conversationID, draftText string) error
- func (d *DataBase) ResetAllConversation() error
- func (d *DataBase) ResetConversation(conversationID string) error
- func (d *DataBase) SearchDepartment(keyWord string, offset, count int) ([]*model_struct.LocalDepartment, error)
- func (d *DataBase) SearchDepartmentMember(keyWord string, ...) ([]*model_struct.SearchDepartmentMemberResult, error)
- func (d *DataBase) SearchFriendList(keyword string, isSearchUserID, isSearchNickname, isSearchRemark bool) ([]*model_struct.LocalFriend, error)
- func (d *DataBase) SearchGroupMembers(keyword string, groupID string, isSearchMemberNickname, isSearchUserID bool, ...) (result []*model_struct.LocalGroupMember, err error)
- func (d *DataBase) SearchMessageByContentType(contentType []int, sourceID string, startTime, endTime int64, ...) (result []*model_struct.LocalChatLog, err error)
- func (d *DataBase) SearchMessageByContentTypeAndKeyword(contentType []int, keywordList []string, keywordListMatchType int, ...) (result []*model_struct.LocalChatLog, err error)
- func (d *DataBase) SearchMessageByContentTypeAndKeywordController(contentType []int, keywordList []string, keywordListMatchType int, ...) (result []*model_struct.LocalChatLog, err error)
- func (d *DataBase) SearchMessageByContentTypeController(contentType []int, sourceID string, startTime, endTime int64, ...) (result []*model_struct.LocalChatLog, err error)
- func (d *DataBase) SearchMessageByKeyword(contentType []int, keywordList []string, keywordListMatchType int, ...) (result []*model_struct.LocalChatLog, err error)
- func (d *DataBase) SearchMessageByKeywordController(contentType []int, keywordList []string, keywordListMatchType int, ...) (result []*model_struct.LocalChatLog, err error)
- func (d *DataBase) SetConversationDraft(conversationID, draftText string) error
- func (d *DataBase) SetMinSeq(ID string, minSeq uint32) error
- func (d *DataBase) SetMultipleConversationRecvMsgOpt(conversationIDList []string, opt int) (err error)
- func (d *DataBase) SubtractMemberCount(groupID string) error
- func (d *DataBase) SuperBatchInsertExceptionMsg(MessageList []*model_struct.LocalErrChatLog, groupID string) error
- func (d *DataBase) SuperGroupBatchInsertMessageList(MessageList []*model_struct.LocalChatLog, groupID string) error
- func (d *DataBase) SuperGroupBatchUpdateMessageList(MessageList []*model_struct.LocalChatLog) error
- func (d *DataBase) SuperGroupDeleteAllMessage(groupID string) error
- func (d *DataBase) SuperGroupGetAllUnDeleteMessageSeqList() ([]uint32, error)
- func (d *DataBase) SuperGroupGetMessage(msg *sdk_struct.MsgStruct) (*model_struct.LocalChatLog, error)
- func (d *DataBase) SuperGroupGetMessageList(sourceID string, sessionType, count int, startTime int64, isReverse bool) (result []*model_struct.LocalChatLog, err error)
- func (d *DataBase) SuperGroupGetMessageListNoTime(sourceID string, sessionType, count int, isReverse bool) (result []*model_struct.LocalChatLog, err error)
- func (d *DataBase) SuperGroupGetMsgSeqByClientMsgID(clientMsgID string, groupID string) (uint32, error)
- func (d *DataBase) SuperGroupGetMsgSeqListByGroupID(groupID string) ([]uint32, error)
- func (d *DataBase) SuperGroupGetMsgSeqListByPeerUserID(userID string) ([]uint32, error)
- func (d *DataBase) SuperGroupGetMsgSeqListBySelfUserID(userID string) ([]uint32, error)
- func (d *DataBase) SuperGroupGetMultipleMessage(conversationIDList []string, groupID string) (result []*model_struct.LocalChatLog, err error)
- func (d *DataBase) SuperGroupGetNormalMinSeq(groupID string) (uint32, error)
- func (d *DataBase) SuperGroupGetNormalMsgSeq() (uint32, error)
- func (d *DataBase) SuperGroupGetSendingMessageList(groupID string) (result []*model_struct.LocalChatLog, err error)
- func (d *DataBase) SuperGroupGetTestMessage(seq uint32) (*model_struct.LocalChatLog, error)
- func (d *DataBase) SuperGroupInsertMessage(Message *model_struct.LocalChatLog, groupID string) error
- func (d *DataBase) SuperGroupIsExistsInErrChatLogBySeq(seq int64) bool
- func (d *DataBase) SuperGroupMessageIfExists(ClientMsgID string) (bool, error)
- func (d *DataBase) SuperGroupMessageIfExistsBySeq(seq int64) (bool, error)
- func (d *DataBase) SuperGroupSearchMessageByContentType(contentType []int, sourceID string, startTime, endTime int64, ...) (result []*model_struct.LocalChatLog, err error)
- func (d *DataBase) SuperGroupSearchMessageByContentTypeAndKeyword(contentType []int, keywordList []string, keywordListMatchType int, ...) (result []*model_struct.LocalChatLog, err error)
- func (d *DataBase) SuperGroupSearchMessageByKeyword(contentType []int, keywordList []string, keywordListMatchType int, ...) (result []*model_struct.LocalChatLog, err error)
- func (d *DataBase) SuperGroupUpdateColumnsMessage(ClientMsgID, groupID string, args map[string]interface{}) error
- func (d *DataBase) SuperGroupUpdateGroupMessageHasRead(msgIDList []string, groupID string) error
- func (d *DataBase) SuperGroupUpdateMessage(c *model_struct.LocalChatLog) error
- func (d *DataBase) SuperGroupUpdateMessageStatusBySourceID(sourceID string, status, sessionType int32) error
- func (d *DataBase) SuperGroupUpdateMessageTimeAndStatus(msg *sdk_struct.MsgStruct) error
- func (d *DataBase) SuperGroupUpdateMsgSenderFaceURL(sendID, faceURL string, sType int) error
- func (d *DataBase) SuperGroupUpdateMsgSenderFaceURLAndSenderNickname(sendID, faceURL, nickname string, sessionType int) error
- func (d *DataBase) SuperGroupUpdateMsgSenderNickname(sendID, nickname string, sType int) error
- func (d *DataBase) UnPinConversation(conversationID string, isPinned int) error
- func (d *DataBase) UpdateAdminGroupRequest(groupRequest *model_struct.LocalAdminGroupRequest) error
- func (d *DataBase) UpdateAllConversation(conversation *model_struct.LocalConversation) error
- func (d *DataBase) UpdateBlack(black *model_struct.LocalBlack) error
- func (d *DataBase) UpdateColumnsConversation(conversationID string, args map[string]interface{}) error
- func (d *DataBase) UpdateColumnsMessage(ClientMsgID string, args map[string]interface{}) error
- func (d *DataBase) UpdateColumnsMessageController(ClientMsgID string, groupID string, sessionType int32, ...) error
- func (d *DataBase) UpdateColumnsMessageList(clientMsgIDList []string, args map[string]interface{}) error
- func (d *DataBase) UpdateConversation(c *model_struct.LocalConversation) error
- func (d *DataBase) UpdateConversationForSync(c *model_struct.LocalConversation) error
- func (d *DataBase) UpdateDepartment(department *model_struct.LocalDepartment) error
- func (d *DataBase) UpdateDepartmentMember(departmentMember *model_struct.LocalDepartmentMember) error
- func (d *DataBase) UpdateFriend(friend *model_struct.LocalFriend) error
- func (d *DataBase) UpdateFriendRequest(friendRequest *model_struct.LocalFriendRequest) error
- func (d *DataBase) UpdateGroup(groupInfo *model_struct.LocalGroup) error
- func (d *DataBase) UpdateGroupMember(groupMember *model_struct.LocalGroupMember) error
- func (d *DataBase) UpdateGroupMemberField(groupID, userID string, args map[string]interface{}) error
- func (d *DataBase) UpdateGroupMessageHasRead(msgIDList []string, sessionType int32) error
- func (d *DataBase) UpdateGroupMessageHasReadController(msgIDList []string, groupID string, sessionType int32) error
- func (d *DataBase) UpdateGroupRequest(groupRequest *model_struct.LocalGroupRequest) error
- func (d *DataBase) UpdateLoginUser(user *model_struct.LocalUser) error
- func (d *DataBase) UpdateLoginUserByMap(user *model_struct.LocalUser, args map[string]interface{}) error
- func (d *DataBase) UpdateMessage(c *model_struct.LocalChatLog) error
- func (d *DataBase) UpdateMessageController(c *model_struct.LocalChatLog) error
- func (d *DataBase) UpdateMessageStatusBySourceID(sourceID string, status, sessionType int32) error
- func (d *DataBase) UpdateMessageStatusBySourceIDController(sourceID string, status, sessionType int32) error
- func (d *DataBase) UpdateMessageTimeAndStatus(clientMsgID string, serverMsgID string, sendTime int64, status int32) error
- func (d *DataBase) UpdateMessageTimeAndStatusController(msg *sdk_struct.MsgStruct) error
- func (d *DataBase) UpdateMsgSenderFaceURL(sendID, faceURL string, sType int) error
- func (d *DataBase) UpdateMsgSenderFaceURLAndSenderNickname(sendID, faceURL, nickname string, sessionType int) error
- func (d *DataBase) UpdateMsgSenderNickname(sendID, nickname string, sType int) error
- func (d *DataBase) UpdateSingleMessageHasRead(sendID string, msgIDList []string) error
- func (d *DataBase) UpdateSuperGroup(groupInfo *model_struct.LocalGroup) error
- type LocalWorkMomentsNotification
- type LocalWorkMomentsNotificationUnreadCount
Constants ¶
This section is empty.
Variables ¶
var UserDBLock sync.RWMutex
var UserDBMap map[string]*DataBase
Functions ¶
This section is empty.
Types ¶
type DataBase ¶
type DataBase struct {
// contains filtered or unexported fields
}
func NewDataBase ¶
func (*DataBase) AddMemberCount ¶
func (*DataBase) BatchInsertConversationList ¶
func (d *DataBase) BatchInsertConversationList(conversationList []*model_struct.LocalConversation) error
func (*DataBase) BatchInsertConversationUnreadMessageList ¶
func (d *DataBase) BatchInsertConversationUnreadMessageList(messageList []*model_struct.LocalConversationUnreadMessage) error
func (*DataBase) BatchInsertDepartmentMember ¶
func (d *DataBase) BatchInsertDepartmentMember(departmentMemberList []*model_struct.LocalDepartmentMember) error
func (*DataBase) BatchInsertExceptionMsg ¶
func (d *DataBase) BatchInsertExceptionMsg(MessageList []*model_struct.LocalErrChatLog) error
func (*DataBase) BatchInsertExceptionMsgController ¶
func (d *DataBase) BatchInsertExceptionMsgController(MessageList []*model_struct.LocalErrChatLog) error
func (*DataBase) BatchInsertGroupMember ¶
func (d *DataBase) BatchInsertGroupMember(groupMemberList []*model_struct.LocalGroupMember) error
func (*DataBase) BatchInsertMessageList ¶
func (d *DataBase) BatchInsertMessageList(MessageList []*model_struct.LocalChatLog) error
func (*DataBase) BatchInsertMessageListController ¶
func (d *DataBase) BatchInsertMessageListController(MessageList []*model_struct.LocalChatLog) error
func (*DataBase) BatchInsertTempCacheMessageList ¶
func (d *DataBase) BatchInsertTempCacheMessageList(MessageList []*model_struct.TempCacheLocalChatLog) error
func (*DataBase) BatchSpecialUpdateMessageList ¶
func (d *DataBase) BatchSpecialUpdateMessageList(MessageList []*model_struct.LocalChatLog) error
func (*DataBase) BatchUpdateConversationList ¶
func (d *DataBase) BatchUpdateConversationList(conversationList []*model_struct.LocalConversation) error
func (*DataBase) BatchUpdateMessageList ¶
func (d *DataBase) BatchUpdateMessageList(MessageList []*model_struct.LocalChatLog) error
func (*DataBase) CleaAllConversation ¶
Clear All conversation, which is used to delete the conversation history message and clear the conversation at the same time. The GetAllConversation or GetConversationListSplit interface can still be obtained, but there is no latest message.
func (*DataBase) ClearConversation ¶
Clear the conversation, which is used to delete the conversation history message and clear the conversation at the same time. The GetAllConversation or GetConversationListSplit interface can still be obtained, but there is no latest message.
func (*DataBase) ClearWorkMomentsNotification ¶
func (*DataBase) ConversationIfExists ¶
func (*DataBase) DecrConversationUnreadCount ¶
func (*DataBase) DeleteAdminGroupRequest ¶
func (*DataBase) DeleteAllMessage ¶
func (*DataBase) DeleteAllSuperGroup ¶
func (*DataBase) DeleteBlack ¶
func (*DataBase) DeleteConversation ¶
func (*DataBase) DeleteConversationUnreadMessageList ¶
func (*DataBase) DeleteDepartment ¶
func (*DataBase) DeleteDepartmentMember ¶
func (*DataBase) DeleteFriend ¶
func (*DataBase) DeleteFriendRequestBothUserID ¶
func (*DataBase) DeleteGroup ¶
func (*DataBase) DeleteGroupAllMembers ¶
func (*DataBase) DeleteGroupMember ¶
func (*DataBase) DeleteGroupRequest ¶
func (*DataBase) DeleteSuperGroup ¶
func (*DataBase) GetAbnormalMsgSeq ¶
func (*DataBase) GetAbnormalMsgSeqList ¶
func (*DataBase) GetAdminGroupApplication ¶
func (d *DataBase) GetAdminGroupApplication() ([]*model_struct.LocalAdminGroupRequest, error)
func (*DataBase) GetAllConversationList ¶
func (d *DataBase) GetAllConversationList() ([]*model_struct.LocalConversation, error)
func (*DataBase) GetAllConversationListToSync ¶
func (d *DataBase) GetAllConversationListToSync() ([]*model_struct.LocalConversation, error)
func (*DataBase) GetAllDepartmentList ¶
func (d *DataBase) GetAllDepartmentList() ([]*model_struct.LocalDepartment, error)
func (*DataBase) GetAllDepartmentMemberList ¶
func (d *DataBase) GetAllDepartmentMemberList() ([]*model_struct.LocalDepartmentMember, error)
func (*DataBase) GetAllFriendList ¶
func (d *DataBase) GetAllFriendList() ([]*model_struct.LocalFriend, error)
func (*DataBase) GetAllGroupInfoByGroupIDOrGroupName ¶
func (d *DataBase) GetAllGroupInfoByGroupIDOrGroupName(keyword string, isSearchGroupID bool, isSearchGroupName bool) ([]*model_struct.LocalGroup, error)
func (*DataBase) GetAllGroupMemberList ¶
func (d *DataBase) GetAllGroupMemberList() ([]model_struct.LocalGroupMember, error)
func (*DataBase) GetAllGroupMemberUserIDList ¶
func (d *DataBase) GetAllGroupMemberUserIDList() ([]model_struct.LocalGroupMember, error)
func (*DataBase) GetAllUnDeleteMessageSeqList ¶
func (*DataBase) GetBlackInfoByBlockUserID ¶
func (d *DataBase) GetBlackInfoByBlockUserID(blockUserID string) (*model_struct.LocalBlack, error)
func (*DataBase) GetBlackInfoList ¶
func (d *DataBase) GetBlackInfoList(blockUserIDList []string) ([]*model_struct.LocalBlack, error)
func (*DataBase) GetBlackList ¶
func (d *DataBase) GetBlackList() ([]*model_struct.LocalBlack, error)
func (*DataBase) GetBlackListUserID ¶
func (*DataBase) GetConversation ¶
func (d *DataBase) GetConversation(conversationID string) (*model_struct.LocalConversation, error)
func (*DataBase) GetConversationByUserID ¶
func (d *DataBase) GetConversationByUserID(userID string) (*model_struct.LocalConversation, error)
func (*DataBase) GetConversationListSplit ¶
func (d *DataBase) GetConversationListSplit(offset, count int) ([]*model_struct.LocalConversation, error)
func (*DataBase) GetDepartmentInfo ¶
func (d *DataBase) GetDepartmentInfo(departmentID string) (*model_struct.LocalDepartment, error)
func (*DataBase) GetDepartmentMemberListByDepartmentID ¶
func (d *DataBase) GetDepartmentMemberListByDepartmentID(departmentID string, args ...int) ([]*model_struct.LocalDepartmentMember, error)
func (*DataBase) GetDepartmentMemberListByUserID ¶
func (d *DataBase) GetDepartmentMemberListByUserID(userID string) ([]*model_struct.LocalDepartmentMember, error)
func (*DataBase) GetFriendApplicationByBothID ¶
func (d *DataBase) GetFriendApplicationByBothID(fromUserID, toUserID string) (*model_struct.LocalFriendRequest, error)
func (*DataBase) GetFriendInfoByFriendUserID ¶
func (d *DataBase) GetFriendInfoByFriendUserID(FriendUserID string) (*model_struct.LocalFriend, error)
func (*DataBase) GetFriendInfoList ¶
func (d *DataBase) GetFriendInfoList(friendUserIDList []string) ([]*model_struct.LocalFriend, error)
func (*DataBase) GetGroupAdminID ¶
func (*DataBase) GetGroupInfoByGroupID ¶
func (d *DataBase) GetGroupInfoByGroupID(groupID string) (*model_struct.LocalGroup, error)
func (*DataBase) GetGroupMemberCount ¶
func (*DataBase) GetGroupMemberInfoByGroupIDUserID ¶
func (d *DataBase) GetGroupMemberInfoByGroupIDUserID(groupID, userID string) (*model_struct.LocalGroupMember, error)
func (*DataBase) GetGroupMemberInfoIfOwnerOrAdmin ¶
func (d *DataBase) GetGroupMemberInfoIfOwnerOrAdmin() ([]*model_struct.LocalGroupMember, error)
func (*DataBase) GetGroupMemberListByGroupID ¶
func (d *DataBase) GetGroupMemberListByGroupID(groupID string) ([]*model_struct.LocalGroupMember, error)
func (*DataBase) GetGroupMemberListSplit ¶
func (d *DataBase) GetGroupMemberListSplit(groupID string, filter int32, offset, count int) ([]*model_struct.LocalGroupMember, error)
func (*DataBase) GetGroupMemberListSplitByJoinTimeFilter ¶
func (d *DataBase) GetGroupMemberListSplitByJoinTimeFilter(groupID string, offset, count int, joinTimeBegin, joinTimeEnd int64, userIDList []string) ([]*model_struct.LocalGroupMember, error)
func (*DataBase) GetGroupMemberOwner ¶
func (d *DataBase) GetGroupMemberOwner(groupID string) (*model_struct.LocalGroupMember, error)
func (*DataBase) GetGroupMemberOwnerAndAdmin ¶
func (d *DataBase) GetGroupMemberOwnerAndAdmin(groupID string) ([]*model_struct.LocalGroupMember, error)
func (*DataBase) GetGroupMemberUIDListByGroupID ¶
func (*DataBase) GetGroupOwnerAndAdminByGroupID ¶
func (d *DataBase) GetGroupOwnerAndAdminByGroupID(groupID string) ([]*model_struct.LocalGroupMember, error)
func (*DataBase) GetGroupSomeMemberInfo ¶
func (d *DataBase) GetGroupSomeMemberInfo(groupID string, userIDList []string) ([]*model_struct.LocalGroupMember, error)
func (*DataBase) GetHiddenConversationList ¶
func (d *DataBase) GetHiddenConversationList() ([]*model_struct.LocalConversation, error)
func (*DataBase) GetJoinedGroupList ¶
func (d *DataBase) GetJoinedGroupList() ([]*model_struct.LocalGroup, error)
func (*DataBase) GetJoinedSuperGroupIDList ¶
func (*DataBase) GetJoinedSuperGroupList ¶
func (d *DataBase) GetJoinedSuperGroupList() ([]*model_struct.LocalGroup, error)
func (*DataBase) GetJoinedWorkingGroupIDList ¶
func (*DataBase) GetJoinedWorkingGroupList ¶
func (d *DataBase) GetJoinedWorkingGroupList() ([]*model_struct.LocalGroup, error)
func (*DataBase) GetLoginUser ¶
func (d *DataBase) GetLoginUser(userID string) (*model_struct.LocalUser, error)
func (*DataBase) GetLostMsgSeqList ¶
func (*DataBase) GetMessage ¶
func (d *DataBase) GetMessage(ClientMsgID string) (*model_struct.LocalChatLog, error)
func (*DataBase) GetMessageController ¶
func (d *DataBase) GetMessageController(msg *sdk_struct.MsgStruct) (*model_struct.LocalChatLog, error)
func (*DataBase) GetMessageList ¶
func (d *DataBase) GetMessageList(sourceID string, sessionType, count int, startTime int64, isReverse bool) (result []*model_struct.LocalChatLog, err error)
group ,index_recv_id and index_send_time only one can be used,when index_recv_id be used,temp B tree use for order by,Query speed decrease
func (*DataBase) GetMessageListController ¶
func (d *DataBase) GetMessageListController(sourceID string, sessionType, count int, startTime int64, isReverse bool) (result []*model_struct.LocalChatLog, err error)
func (*DataBase) GetMessageListNoTime ¶
func (d *DataBase) GetMessageListNoTime(sourceID string, sessionType, count int, isReverse bool) (result []*model_struct.LocalChatLog, err error)
func (*DataBase) GetMessageListNoTimeController ¶
func (d *DataBase) GetMessageListNoTimeController(sourceID string, sessionType, count int, isReverse bool) (result []*model_struct.LocalChatLog, err error)
func (*DataBase) GetMsgSeqByClientMsgID ¶
func (*DataBase) GetMsgSeqByClientMsgIDController ¶
func (d *DataBase) GetMsgSeqByClientMsgIDController(m *sdk_struct.MsgStruct) (uint32, error)
func (*DataBase) GetMsgSeqListByGroupID ¶
func (*DataBase) GetMsgSeqListByPeerUserID ¶
func (*DataBase) GetMsgSeqListBySelfUserID ¶
func (*DataBase) GetMultipleConversation ¶
func (d *DataBase) GetMultipleConversation(conversationIDList []string) (result []*model_struct.LocalConversation, err error)
func (*DataBase) GetMultipleMessage ¶
func (d *DataBase) GetMultipleMessage(msgIDList []string) (result []*model_struct.LocalChatLog, err error)
func (*DataBase) GetMultipleMessageController ¶
func (d *DataBase) GetMultipleMessageController(msgIDList []string, groupID string, sessionType int32) (result []*model_struct.LocalChatLog, err error)
func (*DataBase) GetNormalMsgSeq ¶
func (*DataBase) GetParentDepartmentList ¶
func (d *DataBase) GetParentDepartmentList(departmentID string) ([]*model_struct.LocalDepartment, error)
func (*DataBase) GetReadDiffusionGroupIDList ¶
func (*DataBase) GetRecvFriendApplication ¶
func (d *DataBase) GetRecvFriendApplication() ([]*model_struct.LocalFriendRequest, error)
func (*DataBase) GetSendFriendApplication ¶
func (d *DataBase) GetSendFriendApplication() ([]*model_struct.LocalFriendRequest, error)
func (*DataBase) GetSendGroupApplication ¶
func (d *DataBase) GetSendGroupApplication() ([]*model_struct.LocalGroupRequest, error)
func (*DataBase) GetSendingMessageList ¶
func (d *DataBase) GetSendingMessageList() (result []*model_struct.LocalChatLog, err error)
func (*DataBase) GetSubDepartmentList ¶
func (d *DataBase) GetSubDepartmentList(departmentID string, args ...int) ([]*model_struct.LocalDepartment, error)
func (*DataBase) GetSuperGroupAbnormalMsgSeq ¶
func (*DataBase) GetSuperGroupInfoByGroupID ¶
func (d *DataBase) GetSuperGroupInfoByGroupID(groupID string) (*model_struct.LocalGroup, error)
func (*DataBase) GetSuperGroupNormalMsgSeq ¶
func (*DataBase) GetTestMessage ¶
func (d *DataBase) GetTestMessage(seq uint32) (*model_struct.LocalChatLog, error)
func (*DataBase) GetTotalUnreadMsgCount ¶
func (*DataBase) GetUserMinSeq ¶
func (*DataBase) GetWorkMomentsNotification ¶
func (d *DataBase) GetWorkMomentsNotification(offset, count int) (WorkMomentsNotifications []*LocalWorkMomentsNotification, err error)
func (*DataBase) GetWorkMomentsNotificationLimit ¶
func (d *DataBase) GetWorkMomentsNotificationLimit(pageNumber, showNumber int) (WorkMomentsNotifications []*LocalWorkMomentsNotification, err error)
func (*DataBase) GetWorkMomentsUnReadCount ¶
func (d *DataBase) GetWorkMomentsUnReadCount() (workMomentsNotificationUnReadCount LocalWorkMomentsNotificationUnreadCount, err error)
func (*DataBase) IncrConversationUnreadCount ¶
func (*DataBase) IncrWorkMomentsNotificationUnreadCount ¶
func (*DataBase) InitWorkMomentsNotificationUnreadCount ¶
func (*DataBase) InsertAdminGroupRequest ¶
func (d *DataBase) InsertAdminGroupRequest(groupRequest *model_struct.LocalAdminGroupRequest) error
func (*DataBase) InsertBlack ¶
func (d *DataBase) InsertBlack(black *model_struct.LocalBlack) error
func (*DataBase) InsertConversation ¶
func (d *DataBase) InsertConversation(conversationList *model_struct.LocalConversation) error
func (*DataBase) InsertDepartment ¶
func (d *DataBase) InsertDepartment(department *model_struct.LocalDepartment) error
func (*DataBase) InsertDepartmentMember ¶
func (d *DataBase) InsertDepartmentMember(departmentMember *model_struct.LocalDepartmentMember) error
func (*DataBase) InsertFriend ¶
func (d *DataBase) InsertFriend(friend *model_struct.LocalFriend) error
func (*DataBase) InsertFriendRequest ¶
func (d *DataBase) InsertFriendRequest(friendRequest *model_struct.LocalFriendRequest) error
func (*DataBase) InsertGroup ¶
func (d *DataBase) InsertGroup(groupInfo *model_struct.LocalGroup) error
func (*DataBase) InsertGroupMember ¶
func (d *DataBase) InsertGroupMember(groupMember *model_struct.LocalGroupMember) error
func (*DataBase) InsertGroupRequest ¶
func (d *DataBase) InsertGroupRequest(groupRequest *model_struct.LocalGroupRequest) error
func (*DataBase) InsertLoginUser ¶
func (d *DataBase) InsertLoginUser(user *model_struct.LocalUser) error
func (*DataBase) InsertMessage ¶
func (d *DataBase) InsertMessage(Message *model_struct.LocalChatLog) error
func (*DataBase) InsertMessageController ¶
func (d *DataBase) InsertMessageController(message *model_struct.LocalChatLog) error
func (*DataBase) InsertSuperGroup ¶
func (d *DataBase) InsertSuperGroup(groupInfo *model_struct.LocalGroup) error
func (*DataBase) InsertTempCacheMessage ¶
func (d *DataBase) InsertTempCacheMessage(Message *model_struct.TempCacheLocalChatLog) error
func (*DataBase) InsertWorkMomentsNotification ¶
func (*DataBase) IsExistsInErrChatLogBySeq ¶
func (*DataBase) MarkAllWorkMomentsNotificationAsRead ¶
func (*DataBase) MessageIfExists ¶
func (*DataBase) MessageIfExistsBySeq ¶
func (*DataBase) RemoveConversationDraft ¶
func (*DataBase) ResetAllConversation ¶
Reset ALL conversation is equivalent to deleting the conversation, and the GetAllConversation or GetConversationListSplit interface will no longer be obtained.
func (*DataBase) ResetConversation ¶
Reset the conversation is equivalent to deleting the conversation, and the GetAllConversation or GetConversationListSplit interface will no longer be obtained.
func (*DataBase) SearchDepartment ¶
func (d *DataBase) SearchDepartment(keyWord string, offset, count int) ([]*model_struct.LocalDepartment, error)
func (*DataBase) SearchDepartmentMember ¶
func (d *DataBase) SearchDepartmentMember(keyWord string, isSearchUserName, isSearchEmail, isSearchMobile, isSearchPosition, isSearchTelephone, isSearchUserEnglishName, isSearchUserID bool, offset, count int) ([]*model_struct.SearchDepartmentMemberResult, error)
func (*DataBase) SearchFriendList ¶
func (d *DataBase) SearchFriendList(keyword string, isSearchUserID, isSearchNickname, isSearchRemark bool) ([]*model_struct.LocalFriend, error)
func (*DataBase) SearchGroupMembers ¶
func (d *DataBase) SearchGroupMembers(keyword string, groupID string, isSearchMemberNickname, isSearchUserID bool, offset, count int) (result []*model_struct.LocalGroupMember, err error)
func (*DataBase) SearchMessageByContentType ¶
func (d *DataBase) SearchMessageByContentType(contentType []int, sourceID string, startTime, endTime int64, sessionType, offset, count int) (result []*model_struct.LocalChatLog, err error)
func (*DataBase) SearchMessageByContentTypeAndKeyword ¶
func (d *DataBase) SearchMessageByContentTypeAndKeyword(contentType []int, keywordList []string, keywordListMatchType int, startTime, endTime int64) (result []*model_struct.LocalChatLog, err error)
func (*DataBase) SearchMessageByContentTypeAndKeywordController ¶
func (d *DataBase) SearchMessageByContentTypeAndKeywordController(contentType []int, keywordList []string, keywordListMatchType int, startTime, endTime int64, operationID string) (result []*model_struct.LocalChatLog, err error)
func (*DataBase) SearchMessageByContentTypeController ¶
func (d *DataBase) SearchMessageByContentTypeController(contentType []int, sourceID string, startTime, endTime int64, sessionType, offset, count int) (result []*model_struct.LocalChatLog, err error)
func (*DataBase) SearchMessageByKeyword ¶
func (d *DataBase) SearchMessageByKeyword(contentType []int, keywordList []string, keywordListMatchType int, sourceID string, startTime, endTime int64, sessionType, offset, count int) (result []*model_struct.LocalChatLog, err error)
func (*DataBase) SearchMessageByKeywordController ¶
func (d *DataBase) SearchMessageByKeywordController(contentType []int, keywordList []string, keywordListMatchType int, sourceID string, startTime, endTime int64, sessionType, offset, count int) (result []*model_struct.LocalChatLog, err error)
func (*DataBase) SetConversationDraft ¶
func (*DataBase) SetMultipleConversationRecvMsgOpt ¶
func (*DataBase) SubtractMemberCount ¶
func (*DataBase) SuperBatchInsertExceptionMsg ¶
func (d *DataBase) SuperBatchInsertExceptionMsg(MessageList []*model_struct.LocalErrChatLog, groupID string) error
func (*DataBase) SuperGroupBatchInsertMessageList ¶
func (d *DataBase) SuperGroupBatchInsertMessageList(MessageList []*model_struct.LocalChatLog, groupID string) error
func (*DataBase) SuperGroupBatchUpdateMessageList ¶
func (d *DataBase) SuperGroupBatchUpdateMessageList(MessageList []*model_struct.LocalChatLog) error
func (*DataBase) SuperGroupDeleteAllMessage ¶
func (*DataBase) SuperGroupGetAllUnDeleteMessageSeqList ¶
func (*DataBase) SuperGroupGetMessage ¶
func (d *DataBase) SuperGroupGetMessage(msg *sdk_struct.MsgStruct) (*model_struct.LocalChatLog, error)
func (*DataBase) SuperGroupGetMessageList ¶
func (d *DataBase) SuperGroupGetMessageList(sourceID string, sessionType, count int, startTime int64, isReverse bool) (result []*model_struct.LocalChatLog, err error)
func (*DataBase) SuperGroupGetMessageListNoTime ¶
func (d *DataBase) SuperGroupGetMessageListNoTime(sourceID string, sessionType, count int, isReverse bool) (result []*model_struct.LocalChatLog, err error)
func (*DataBase) SuperGroupGetMsgSeqByClientMsgID ¶
func (*DataBase) SuperGroupGetMsgSeqListByGroupID ¶
func (*DataBase) SuperGroupGetMsgSeqListByPeerUserID ¶
func (*DataBase) SuperGroupGetMsgSeqListBySelfUserID ¶
func (*DataBase) SuperGroupGetMultipleMessage ¶
func (d *DataBase) SuperGroupGetMultipleMessage(conversationIDList []string, groupID string) (result []*model_struct.LocalChatLog, err error)
func (*DataBase) SuperGroupGetNormalMinSeq ¶
func (*DataBase) SuperGroupGetNormalMsgSeq ¶
func (*DataBase) SuperGroupGetSendingMessageList ¶
func (d *DataBase) SuperGroupGetSendingMessageList(groupID string) (result []*model_struct.LocalChatLog, err error)
func (*DataBase) SuperGroupGetTestMessage ¶
func (d *DataBase) SuperGroupGetTestMessage(seq uint32) (*model_struct.LocalChatLog, error)
func (*DataBase) SuperGroupInsertMessage ¶
func (d *DataBase) SuperGroupInsertMessage(Message *model_struct.LocalChatLog, groupID string) error
func (*DataBase) SuperGroupIsExistsInErrChatLogBySeq ¶
func (*DataBase) SuperGroupMessageIfExists ¶
func (*DataBase) SuperGroupMessageIfExistsBySeq ¶
func (*DataBase) SuperGroupSearchMessageByContentType ¶
func (d *DataBase) SuperGroupSearchMessageByContentType(contentType []int, sourceID string, startTime, endTime int64, sessionType, offset, count int) (result []*model_struct.LocalChatLog, err error)
func (*DataBase) SuperGroupSearchMessageByContentTypeAndKeyword ¶
func (d *DataBase) SuperGroupSearchMessageByContentTypeAndKeyword(contentType []int, keywordList []string, keywordListMatchType int, startTime, endTime int64, groupID string) (result []*model_struct.LocalChatLog, err error)
func (*DataBase) SuperGroupSearchMessageByKeyword ¶
func (d *DataBase) SuperGroupSearchMessageByKeyword(contentType []int, keywordList []string, keywordListMatchType int, sourceID string, startTime, endTime int64, sessionType, offset, count int) (result []*model_struct.LocalChatLog, err error)
func (*DataBase) SuperGroupUpdateColumnsMessage ¶
func (*DataBase) SuperGroupUpdateGroupMessageHasRead ¶
func (*DataBase) SuperGroupUpdateMessage ¶
func (d *DataBase) SuperGroupUpdateMessage(c *model_struct.LocalChatLog) error
func (*DataBase) SuperGroupUpdateMessageStatusBySourceID ¶
func (*DataBase) SuperGroupUpdateMessageTimeAndStatus ¶
func (d *DataBase) SuperGroupUpdateMessageTimeAndStatus(msg *sdk_struct.MsgStruct) error
func (*DataBase) SuperGroupUpdateMsgSenderFaceURL ¶
func (*DataBase) SuperGroupUpdateMsgSenderFaceURLAndSenderNickname ¶
func (*DataBase) SuperGroupUpdateMsgSenderNickname ¶
func (*DataBase) UnPinConversation ¶
func (*DataBase) UpdateAdminGroupRequest ¶
func (d *DataBase) UpdateAdminGroupRequest(groupRequest *model_struct.LocalAdminGroupRequest) error
func (*DataBase) UpdateAllConversation ¶
func (d *DataBase) UpdateAllConversation(conversation *model_struct.LocalConversation) error
func (*DataBase) UpdateBlack ¶
func (d *DataBase) UpdateBlack(black *model_struct.LocalBlack) error
func (*DataBase) UpdateColumnsConversation ¶
func (*DataBase) UpdateColumnsMessage ¶
func (*DataBase) UpdateColumnsMessageController ¶
func (*DataBase) UpdateColumnsMessageList ¶
func (*DataBase) UpdateConversation ¶
func (d *DataBase) UpdateConversation(c *model_struct.LocalConversation) error
func (*DataBase) UpdateConversationForSync ¶
func (d *DataBase) UpdateConversationForSync(c *model_struct.LocalConversation) error
func (*DataBase) UpdateDepartment ¶
func (d *DataBase) UpdateDepartment(department *model_struct.LocalDepartment) error
func (*DataBase) UpdateDepartmentMember ¶
func (d *DataBase) UpdateDepartmentMember(departmentMember *model_struct.LocalDepartmentMember) error
func (*DataBase) UpdateFriend ¶
func (d *DataBase) UpdateFriend(friend *model_struct.LocalFriend) error
func (*DataBase) UpdateFriendRequest ¶
func (d *DataBase) UpdateFriendRequest(friendRequest *model_struct.LocalFriendRequest) error
func (*DataBase) UpdateGroup ¶
func (d *DataBase) UpdateGroup(groupInfo *model_struct.LocalGroup) error
func (*DataBase) UpdateGroupMember ¶
func (d *DataBase) UpdateGroupMember(groupMember *model_struct.LocalGroupMember) error
func (*DataBase) UpdateGroupMemberField ¶
func (*DataBase) UpdateGroupMessageHasRead ¶
func (*DataBase) UpdateGroupMessageHasReadController ¶
func (*DataBase) UpdateGroupRequest ¶
func (d *DataBase) UpdateGroupRequest(groupRequest *model_struct.LocalGroupRequest) error
func (*DataBase) UpdateLoginUser ¶
func (d *DataBase) UpdateLoginUser(user *model_struct.LocalUser) error
func (*DataBase) UpdateLoginUserByMap ¶
func (d *DataBase) UpdateLoginUserByMap(user *model_struct.LocalUser, args map[string]interface{}) error
func (*DataBase) UpdateMessage ¶
func (d *DataBase) UpdateMessage(c *model_struct.LocalChatLog) error
func (*DataBase) UpdateMessageController ¶
func (d *DataBase) UpdateMessageController(c *model_struct.LocalChatLog) error
func (*DataBase) UpdateMessageStatusBySourceID ¶
func (*DataBase) UpdateMessageStatusBySourceIDController ¶
func (*DataBase) UpdateMessageTimeAndStatus ¶
func (*DataBase) UpdateMessageTimeAndStatusController ¶
func (d *DataBase) UpdateMessageTimeAndStatusController(msg *sdk_struct.MsgStruct) error
func (*DataBase) UpdateMsgSenderFaceURL ¶
func (*DataBase) UpdateMsgSenderFaceURLAndSenderNickname ¶
func (*DataBase) UpdateMsgSenderNickname ¶
func (*DataBase) UpdateSingleMessageHasRead ¶
func (*DataBase) UpdateSuperGroup ¶
func (d *DataBase) UpdateSuperGroup(groupInfo *model_struct.LocalGroup) error
type LocalWorkMomentsNotification ¶
type LocalWorkMomentsNotification struct { JsonDetail string `gorm:"column:json_detail"` CreateTime int64 `gorm:"create_time"` }
func (LocalWorkMomentsNotification) TableName ¶
func (LocalWorkMomentsNotification) TableName() string
type LocalWorkMomentsNotificationUnreadCount ¶
type LocalWorkMomentsNotificationUnreadCount struct {
UnreadCount int `gorm:"unread_count" json:"unreadCount"`
}
func (LocalWorkMomentsNotificationUnreadCount) TableName ¶
func (LocalWorkMomentsNotificationUnreadCount) TableName() string
Source Files ¶
- admin_group_request_model.go
- black_model.go
- chat_log_model.go
- common.go
- conversation_model.go
- conversation_unread_message_model.go
- db_init.go
- department_member_model.go
- department_model.go
- err_chat_log_model.go
- friend_model.go
- friend_request_model.go
- group_member_model.go
- group_model.go
- group_request_model.go
- seq_data_model.go
- super_group_chat_log_model.go
- super_group_model.go
- temp_cache_chat_log_model.go
- user_model.go
- work_moments_model.go
- working_group.go