Documentation ¶
Index ¶
- func AdminGroupRequestCopyToLocal(dst *model_struct.LocalAdminGroupRequest, src *server_api_params.GroupRequest)
- func CheckAdminGroupRequestDiff(a []*model_struct.LocalAdminGroupRequest, ...) (aInBNot, bInANot, sameA, sameB []int)
- func CheckAnyErrCallback(callback open_im_sdk_callback.Base, errCode int32, err error, ...)
- func CheckArgsErrCallback(callback open_im_sdk_callback.Base, err error, operationID string)
- func CheckBlackListDiff(a []*model_struct.LocalBlack, b []*model_struct.LocalBlack) (aInBNot, bInANot, sameA, sameB []int)
- func CheckConfigErrCallback(callback open_im_sdk_callback.Base, err error, operationID string)
- func CheckConversationListDiff(conversationsOnServer, conversationsOnLocal []*tempConversation) (aInBNot, bInANot, sameA, sameB []int)
- func CheckDBErrCallback(callback open_im_sdk_callback.Base, err error, operationID string)
- func CheckDataErrCallback(callback open_im_sdk_callback.Base, err error, operationID string)
- func CheckDepartmentDiff(a []*model_struct.LocalDepartment, b []*model_struct.LocalDepartment) (aInBNot, bInANot, sameA, sameB []int)
- func CheckDepartmentMemberDiff(a []*model_struct.LocalDepartmentMember, ...) (aInBNot, bInANot, sameA, sameB []int)
- func CheckErrAndResp(err error, resp []byte, output interface{}) error
- func CheckErrAndRespCallback(callback open_im_sdk_callback.Base, err error, resp []byte, output interface{}, ...)
- func CheckFriendListDiff(a []*model_struct.LocalFriend, b []*model_struct.LocalFriend) (aInBNot, bInANot, sameA, sameB []int)
- func CheckFriendRequestDiff(a []*model_struct.LocalFriendRequest, b []*model_struct.LocalFriendRequest) (aInBNot, bInANot, sameA, sameB []int)
- func CheckGroupInfoDiff(a []*model_struct.LocalGroup, b []*model_struct.LocalGroup) (aInBNot, bInANot, sameA, sameB []int)
- func CheckGroupMemberDiff(a []*model_struct.LocalGroupMember, b []*model_struct.LocalGroupMember) (aInBNot, bInANot, sameA, sameB []int)
- func CheckGroupRequestDiff(a []*model_struct.LocalGroupRequest, b []*model_struct.LocalGroupRequest) (aInBNot, bInANot, sameA, sameB []int)
- func CheckTokenErrCallback(callback open_im_sdk_callback.Base, err error, operationID string)
- func DoListener(Li goroutine)
- func GetGroupMemberListByGroupID(callback open_im_sdk_callback.Base, operationID string, db *db.DataBase, ...) []*model_struct.LocalGroupMember
- func GroupInfoCopyToLocal(dst *model_struct.LocalGroup, src *server_api_params.GroupInfo)
- func GroupMemberCopyToLocal(dst *model_struct.LocalGroupMember, src *server_api_params.GroupMemberFullInfo)
- func GroupRequestCopyToLocal(dst *model_struct.LocalGroupRequest, src *server_api_params.GroupRequest)
- func JsonUnmarshalAndArgsValidate(s string, args interface{}, callback open_im_sdk_callback.Base, ...) error
- func JsonUnmarshalCallback(s string, args interface{}, callback open_im_sdk_callback.Base, ...) error
- func LocalTransferToTempConversation(local []*model_struct.LocalConversation) []*tempConversation
- func MapstructureDecode(input interface{}, output interface{}, callback open_im_sdk_callback.Base, ...)
- func MergeBlackFriendResult(base []*model_struct.LocalBlack, add []*model_struct.LocalFriend) []api.FullUserInfo
- func MergeFriendBlackResult(base []*model_struct.LocalFriend, add []*model_struct.LocalBlack) []api.FullUserInfo
- func MergeUserResult(publicList []*api.PublicUserInfo, friendList []*model_struct.LocalFriend, ...) []api.FullUserInfo
- func SendGroupRequestCopyToLocal(dst *model_struct.LocalGroupRequest, src *server_api_params.GroupRequest)
- func ServerTransferToTempConversation(resp server_api_params.GetAllConversationsResp) []*tempConversation
- func TransferToLocalAdminGroupRequest(apiData []*server_api_params.GroupRequest) []*model_struct.LocalAdminGroupRequest
- func TransferToLocalBlack(apiBlackList []*server_api_params.PublicUserInfo, ownerUserID string) []*model_struct.LocalBlack
- func TransferToLocalConversation(resp server_api_params.GetAllConversationsResp) []*model_struct.LocalConversation
- func TransferToLocalDepartment(apiData []*server_api_params.Department) []*model_struct.LocalDepartment
- func TransferToLocalDepartmentMember(apiData []*server_api_params.UserDepartmentMember) []*model_struct.LocalDepartmentMember
- func TransferToLocalFriend(apiFriendList []*server_api_params.FriendInfo) []*model_struct.LocalFriend
- func TransferToLocalFriendRequest(apiFriendList []*server_api_params.FriendRequest) []*model_struct.LocalFriendRequest
- func TransferToLocalGroupInfo(apiData []*server_api_params.GroupInfo) []*model_struct.LocalGroup
- func TransferToLocalGroupMember(apiData []*server_api_params.GroupMemberFullInfo) []*model_struct.LocalGroupMember
- func TransferToLocalGroupRequest(apiData []*server_api_params.GroupRequest) []*model_struct.LocalGroupRequest
- func TransferToLocalSendGroupRequest(apiData []*server_api_params.GroupRequest) []*model_struct.LocalGroupRequest
- func TransferToLocalUserInfo(apiData *server_api_params.UserInfo) *model_struct.LocalUser
- func TransferToServerConversation(local []*model_struct.LocalConversation) server_api_params.GetAllConversationsResp
- func TriggerCmdDeleteConversationAndMessage(sourceID, conversationID string, sessionType int, ...) error
- func TriggerCmdJoinedSuperGroup(cmd sdk_struct.CmdJoinedSuperGroup, joinedSuperGroupCh chan Cmd2Value) error
- func TriggerCmdLogout(ch chan Cmd2Value) error
- func TriggerCmdMaxSeq(seq sdk_struct.CmdMaxSeqToMsgSync, ch chan Cmd2Value) error
- func TriggerCmdNewMsgCome(msg sdk_struct.CmdNewMsgComeToConversation, conversationCh chan Cmd2Value) error
- func TriggerCmdPushMsg(msg sdk_struct.CmdPushMsgToMsgSync, ch chan Cmd2Value) error
- func TriggerCmdSuperGroupMsgCome(msg sdk_struct.CmdNewMsgComeToConversation, conversationCh chan Cmd2Value) error
- func TriggerCmdUpdateConversation(node UpdateConNode, conversationCh chan Cmd2Value) error
- func TriggerCmdUpdateMessage(node UpdateMessageNode, conversationCh chan Cmd2Value) error
- func TriggerCmdWakeUp(ch chan Cmd2Value) error
- func UnInitAll(conversationCh chan Cmd2Value) error
- type Cmd2Value
- type DeleteConNode
- type UpdateConInfo
- type UpdateConNode
- type UpdateMessageInfo
- type UpdateMessageNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdminGroupRequestCopyToLocal ¶
func AdminGroupRequestCopyToLocal(dst *model_struct.LocalAdminGroupRequest, src *server_api_params.GroupRequest)
func CheckAdminGroupRequestDiff ¶
func CheckAdminGroupRequestDiff(a []*model_struct.LocalAdminGroupRequest, b []*model_struct.LocalAdminGroupRequest) (aInBNot, bInANot, sameA, sameB []int)
func CheckAnyErrCallback ¶
func CheckAnyErrCallback(callback open_im_sdk_callback.Base, errCode int32, err error, operationID string)
func CheckArgsErrCallback ¶
func CheckArgsErrCallback(callback open_im_sdk_callback.Base, err error, operationID string)
func CheckBlackListDiff ¶
func CheckBlackListDiff(a []*model_struct.LocalBlack, b []*model_struct.LocalBlack) (aInBNot, bInANot, sameA, sameB []int)
func CheckConfigErrCallback ¶
func CheckConfigErrCallback(callback open_im_sdk_callback.Base, err error, operationID string)
func CheckConversationListDiff ¶
func CheckConversationListDiff(conversationsOnServer, conversationsOnLocal []*tempConversation) (aInBNot, bInANot, sameA, sameB []int)
func CheckDBErrCallback ¶
func CheckDBErrCallback(callback open_im_sdk_callback.Base, err error, operationID string)
func CheckDataErrCallback ¶
func CheckDataErrCallback(callback open_im_sdk_callback.Base, err error, operationID string)
func CheckDepartmentDiff ¶
func CheckDepartmentDiff(a []*model_struct.LocalDepartment, b []*model_struct.LocalDepartment) (aInBNot, bInANot, sameA, sameB []int)
func CheckDepartmentMemberDiff ¶
func CheckDepartmentMemberDiff(a []*model_struct.LocalDepartmentMember, b []*model_struct.LocalDepartmentMember) (aInBNot, bInANot, sameA, sameB []int)
func CheckErrAndResp ¶
func CheckErrAndRespCallback ¶
func CheckErrAndRespCallback(callback open_im_sdk_callback.Base, err error, resp []byte, output interface{}, operationID string)
func CheckFriendListDiff ¶
func CheckFriendListDiff(a []*model_struct.LocalFriend, b []*model_struct.LocalFriend) (aInBNot, bInANot, sameA, sameB []int)
func CheckFriendRequestDiff ¶
func CheckFriendRequestDiff(a []*model_struct.LocalFriendRequest, b []*model_struct.LocalFriendRequest) (aInBNot, bInANot, sameA, sameB []int)
func CheckGroupInfoDiff ¶
func CheckGroupInfoDiff(a []*model_struct.LocalGroup, b []*model_struct.LocalGroup) (aInBNot, bInANot, sameA, sameB []int)
func CheckGroupMemberDiff ¶
func CheckGroupMemberDiff(a []*model_struct.LocalGroupMember, b []*model_struct.LocalGroupMember) (aInBNot, bInANot, sameA, sameB []int)
func CheckGroupRequestDiff ¶
func CheckGroupRequestDiff(a []*model_struct.LocalGroupRequest, b []*model_struct.LocalGroupRequest) (aInBNot, bInANot, sameA, sameB []int)
func CheckTokenErrCallback ¶
func CheckTokenErrCallback(callback open_im_sdk_callback.Base, err error, operationID string)
func DoListener ¶
func DoListener(Li goroutine)
func GetGroupMemberListByGroupID ¶
func GetGroupMemberListByGroupID(callback open_im_sdk_callback.Base, operationID string, db *db.DataBase, groupID string) []*model_struct.LocalGroupMember
func GroupInfoCopyToLocal ¶
func GroupInfoCopyToLocal(dst *model_struct.LocalGroup, src *server_api_params.GroupInfo)
func GroupMemberCopyToLocal ¶
func GroupMemberCopyToLocal(dst *model_struct.LocalGroupMember, src *server_api_params.GroupMemberFullInfo)
func GroupRequestCopyToLocal ¶
func GroupRequestCopyToLocal(dst *model_struct.LocalGroupRequest, src *server_api_params.GroupRequest)
func JsonUnmarshalAndArgsValidate ¶
func JsonUnmarshalAndArgsValidate(s string, args interface{}, callback open_im_sdk_callback.Base, operationID string) error
func JsonUnmarshalCallback ¶
func JsonUnmarshalCallback(s string, args interface{}, callback open_im_sdk_callback.Base, operationID string) error
func LocalTransferToTempConversation ¶
func LocalTransferToTempConversation(local []*model_struct.LocalConversation) []*tempConversation
func MapstructureDecode ¶
func MapstructureDecode(input interface{}, output interface{}, callback open_im_sdk_callback.Base, oprationID string)
func MergeBlackFriendResult ¶
func MergeBlackFriendResult(base []*model_struct.LocalBlack, add []*model_struct.LocalFriend) []api.FullUserInfo
func MergeFriendBlackResult ¶
func MergeFriendBlackResult(base []*model_struct.LocalFriend, add []*model_struct.LocalBlack) []api.FullUserInfo
func MergeUserResult ¶
func MergeUserResult(publicList []*api.PublicUserInfo, friendList []*model_struct.LocalFriend, blackList []*model_struct.LocalBlack) []api.FullUserInfo
func SendGroupRequestCopyToLocal ¶
func SendGroupRequestCopyToLocal(dst *model_struct.LocalGroupRequest, src *server_api_params.GroupRequest)
func ServerTransferToTempConversation ¶
func ServerTransferToTempConversation(resp server_api_params.GetAllConversationsResp) []*tempConversation
func TransferToLocalAdminGroupRequest ¶
func TransferToLocalAdminGroupRequest(apiData []*server_api_params.GroupRequest) []*model_struct.LocalAdminGroupRequest
func TransferToLocalBlack ¶
func TransferToLocalBlack(apiBlackList []*server_api_params.PublicUserInfo, ownerUserID string) []*model_struct.LocalBlack
func TransferToLocalConversation ¶
func TransferToLocalConversation(resp server_api_params.GetAllConversationsResp) []*model_struct.LocalConversation
func TransferToLocalDepartment ¶
func TransferToLocalDepartment(apiData []*server_api_params.Department) []*model_struct.LocalDepartment
func TransferToLocalDepartmentMember ¶
func TransferToLocalDepartmentMember(apiData []*server_api_params.UserDepartmentMember) []*model_struct.LocalDepartmentMember
func TransferToLocalFriend ¶
func TransferToLocalFriend(apiFriendList []*server_api_params.FriendInfo) []*model_struct.LocalFriend
func TransferToLocalFriendRequest ¶
func TransferToLocalFriendRequest(apiFriendList []*server_api_params.FriendRequest) []*model_struct.LocalFriendRequest
func TransferToLocalGroupInfo ¶
func TransferToLocalGroupInfo(apiData []*server_api_params.GroupInfo) []*model_struct.LocalGroup
func TransferToLocalGroupMember ¶
func TransferToLocalGroupMember(apiData []*server_api_params.GroupMemberFullInfo) []*model_struct.LocalGroupMember
func TransferToLocalGroupRequest ¶
func TransferToLocalGroupRequest(apiData []*server_api_params.GroupRequest) []*model_struct.LocalGroupRequest
func TransferToLocalSendGroupRequest ¶
func TransferToLocalSendGroupRequest(apiData []*server_api_params.GroupRequest) []*model_struct.LocalGroupRequest
func TransferToLocalUserInfo ¶
func TransferToLocalUserInfo(apiData *server_api_params.UserInfo) *model_struct.LocalUser
func TransferToServerConversation ¶
func TransferToServerConversation(local []*model_struct.LocalConversation) server_api_params.GetAllConversationsResp
func TriggerCmdJoinedSuperGroup ¶
func TriggerCmdJoinedSuperGroup(cmd sdk_struct.CmdJoinedSuperGroup, joinedSuperGroupCh chan Cmd2Value) error
func TriggerCmdLogout ¶
func TriggerCmdMaxSeq ¶
func TriggerCmdMaxSeq(seq sdk_struct.CmdMaxSeqToMsgSync, ch chan Cmd2Value) error
func TriggerCmdNewMsgCome ¶
func TriggerCmdNewMsgCome(msg sdk_struct.CmdNewMsgComeToConversation, conversationCh chan Cmd2Value) error
func TriggerCmdPushMsg ¶
func TriggerCmdPushMsg(msg sdk_struct.CmdPushMsgToMsgSync, ch chan Cmd2Value) error
func TriggerCmdSuperGroupMsgCome ¶
func TriggerCmdSuperGroupMsgCome(msg sdk_struct.CmdNewMsgComeToConversation, conversationCh chan Cmd2Value) error
func TriggerCmdUpdateConversation ¶
func TriggerCmdUpdateConversation(node UpdateConNode, conversationCh chan Cmd2Value) error
func TriggerCmdUpdateMessage ¶
func TriggerCmdUpdateMessage(node UpdateMessageNode, conversationCh chan Cmd2Value) error
func TriggerCmdWakeUp ¶
Types ¶
type DeleteConNode ¶
type UpdateConInfo ¶
type UpdateConNode ¶
type UpdateMessageInfo ¶
type UpdateMessageNode ¶
type UpdateMessageNode struct { Action int Args interface{} }
Click to show internal directories.
Click to hide internal directories.