Documentation ¶
Index ¶
- Variables
- func CheckReliabilityResult(msgNumOneClient int, clientNum int) bool
- func DoSetGroupApplyMemberFriend()
- func DoSetGroupInfo()
- func DoSetGroupLookMemberInfo()
- func DoSetGroupVerification()
- func DoTest(uid, tk, ws, api string)
- func DoTestAcceptFriendApplication()
- func DoTestAcceptGroupApplication(uid string)
- func DoTestAddFriend()
- func DoTestAddMessageReactionExtensions(index int, operationID string)
- func DoTestAddToBlackList(userID string)
- func DoTestCheckFriend()
- func DoTestClearMsg()
- func DoTestClearOneConversation()
- func DoTestCreateGroup()
- func DoTestCreateImageMessageFromFullPath() string
- func DoTestCreateOtherMessageFromFullPath() string
- func DoTestCreateTextMessage(text string) string
- func DoTestCreateVideoMessageFromFullPath() string
- func DoTestDeleteAllMsgFromLocalAndSvr()
- func DoTestDeleteConversationMsgFromLocalAndSvr(conversationID string)
- func DoTestDeleteFromBlackList(userID string)
- func DoTestDeleteMessageFromLocalStorage()
- func DoTestFindMessageList()
- func DoTestGetAdvancedHistoryMessageList()
- func DoTestGetAllConversation()
- func DoTestGetBlackList()
- func DoTestGetConversationListSplit()
- func DoTestGetConversationRecvMessageOpt(list string)
- func DoTestGetConversations(conversationIDs string)
- func DoTestGetDesignatedFriendsInfo()
- func DoTestGetFriendApplicationList()
- func DoTestGetGroupsInfo()
- func DoTestGetJoinedGroupList()
- func DoTestGetMessageListReactionExtensions(operationID string)
- func DoTestGetOneConversation(friendID string)
- func DoTestGetRecvGroupApplicationList()
- func DoTestGetSelfUserInfo()
- func DoTestGetSendFriendApplicationList()
- func DoTestGetUserReqGroupApplicationList()
- func DoTestGetUsersInfo()
- func DoTestJoinGroup()
- func DoTestQuitGroup()
- func DoTestRefuseFriendApplication()
- func DoTestSearchGroups()
- func DoTestSearchLocalMessages()
- func DoTestSendImageMsg(recvID string)
- func DoTestSendMsg(index int, sendId, recvID string, groupID string, idx string)
- func DoTestSendMsg2(sendId, recvID string)
- func DoTestSendMsg2Group(sendId, groupID string, index int)
- func DoTestSendMsg2GroupWithMessage(sendId, groupID string, message string)
- func DoTestSendMsg2c2c(sendId, recvID string, index int)
- func DoTestSendOtherMsg(sendId, recvID string)
- func DoTestSendVideo(sendId, recvID string)
- func DoTestSetAppBackgroundStatus(isBackground bool)
- func DoTestSetAppBadge()
- func DoTestSetBurnDuration(conversationID string)
- func DoTestSetConversationPinned(conversationID string, pin bool)
- func DoTestSetConversationRecvMessageOpt(conversationIDs []string, opt int)
- func DoTestSetGroupMemberInfo(groupID, userID string, ex string)
- func DoTestSetGroupMemberRoleLevel(groupID, userID string, roleLevel int)
- func DoTestSetMessageReactionExtensions()
- func DoTestSetMsgDestructTime(conversationID string)
- func DoTestSetOneConversationPrivateChat(conversationID string, privateChat bool)
- func DoTestSetOneConversationRecvMessageOpt(conversationID string, opt int)
- func DoTestSetSelfInfo()
- func DotestCos()
- func DotestDeleteFriend(userID string)
- func DotestGetFriendList()
- func DotestGetGroupMemberList()
- func DotestGetGroupMemberListByJoinTimeFilter()
- func DotestGetRecvGroupApplicationList() string
- func DotestInviteUserToGroup()
- func DotestKickGroupMember()
- func DotestRefuseGroupApplication(uid string)
- func DotestSearchFriends()
- func DotestSetFriendRemark()
- func DotestSetGroupMemberNickname(myUserID string)
- func DotestTransferGroupOwner()
- func GenUid(uid int, prefix string) string
- func GetCmd(myUid int, filename string) int
- func GetFileContentAsStringLines(filePath string) ([]string, error)
- func InOutDoTest(uid, tk, ws, api string)
- func InOutDoTestSendMsg(sendId, receiverID string)
- func InOutLogout()
- func InOutlllogin(uid, tk string)
- func PressInitAndLogin(index int, uid, tk, ws, api string)
- func PressOne(index int, beforeLoginSleep int, isSendMsg bool, intervalSleepMS int)
- func PressTest(msgNumOneClient int, intervalSleepMS int, clientNum int)
- func RegisterOnlineAccounts(number int)
- func RegisterPressUser(id int)
- func RegisterReliabilityUser(id int, timeStamp string)
- func ReliabilityInitAndLogin(index int, uid, tk, ws, api string)
- func ReliabilityOne(index int, beforeLoginSleep int, isSendMsg bool, intervalSleepMS int)
- func ReliabilityTest(msgNumOneClient int, intervalSleepMS int, randSleepMaxSecond int, ...)
- func RunGetToken(strMyUid string) string
- func SendTextMessageOnlyForPress(text, senderID, recvID, groupID, operationID string) bool
- func SetListenerAndLogin(uid, tk string)
- func SetTestFriendID(friendUserID string)
- func SetTestGroupID(groupID, memberID string)
- func TestLog(v ...interface{})
- func WorkGroupMsgDelayOne(index int, beforeLoginSleep int, isSendMsg bool, intervalSleepMS int, ...)
- func WorkGroupMsgDelayTest(msgNumOneClient int, intervalSleepMS int, randSleepMaxSecond int, ...)
- func WorkGroupPressOne(index int, beforeLoginSleep int, isSendMsg bool, intervalSleepMS int, ...)
- func WorkGroupPressTest(msgNumOneClient int, intervalSleepMS int, clientNum int, groupID string)
- func WorkGroupRegisterReliabilityUser(id int)
- func WorkGroupReliabilityOne(index int, beforeLoginSleep int, isSendMsg bool, intervalSleepMS int, ...)
- func WorkGroupReliabilityTest(msgNumOneClient int, intervalSleepMS int, randSleepMaxSecond int, ...)
- type AddMessageReactionExtensionsCallBack
- type BaseSuccessFailed
- type BaseSuccessFailedTest
- type BatchMsg
- type CoreNode
- type DeleteConversationCallBack
- type DeleteMessageCallBack
- type DeleteMsgCallBack
- type FindMessageListCallBack
- type GetHistoryCallBack
- type GetHistoryReverseCallBack
- type GetMessageListReactionExtensionsCallBack
- type GetTokenReq
- type MsgListenerCallBak
- func (m *MsgListenerCallBak) OnMsgDeleted(s string)
- func (m *MsgListenerCallBak) OnNewRecvMessageRevoked(messageRevoked string)
- func (m MsgListenerCallBak) OnRecvC2CReadReceipt(data string)
- func (m *MsgListenerCallBak) OnRecvGroupReadReceipt(groupMsgReceiptList string)
- func (m *MsgListenerCallBak) OnRecvMessageExtensionsAdded(msgID string, reactionExtensionList string)
- func (m *MsgListenerCallBak) OnRecvMessageExtensionsChanged(msgID string, reactionExtensionList string)
- func (m *MsgListenerCallBak) OnRecvMessageExtensionsDeleted(msgID string, reactionExtensionKeyList string)
- func (m MsgListenerCallBak) OnRecvMessageRevoked(msgId string)
- func (m *MsgListenerCallBak) OnRecvNewMessage(msg string)
- func (m *MsgListenerCallBak) OnRecvOfflineNewMessage(message string)
- func (m *MsgListenerCallBak) OnRecvOnlineOnlyMessage(message string)
- type RegisterReq
- type ResToken
- type SearchLocalMessagesCallBack
- type SendRecvTime
- type SetAppBadgeCallBack
- type SetMessageReactionExtensionsCallBack
- type TestClearMsg
- type TestDeleteConversation
- type TestGetAllConversationListCallBack
- type TestGetConversationListSplitCallBack
- type TestGetConversationRecvMessageOpt
- type TestGetOneConversationCallBack
- type TestMarkGroupMessageAsRead
- type TestModifyGroupMessageReaction
- type TestSearchLocalMessages
- type TestSendImg
- type TestSendMsgCallBack
- type TestSendMsgCallBackPress
- type TestSetConversationDraft
- type TestSetConversationPinnedCallback
- type UpdateFcmTokenCallBack
- type XBase
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //TESTIP = "121.5.182.23" TESTIP = "59.36.173.89" //TESTIP = "open-im-test.rentsoft.cn" APIADDR = "http://" + TESTIP + ":10002" WSADDR = "ws://" + TESTIP + ":10001" REGISTERADDR = APIADDR + "/auth/user_register" TOKENADDR = APIADDR + "/auth/user_token" SECRET = "openIM123" SENDINTERVAL = 20 GETSELFUSERINFO = APIADDR + "/user/get_self_user_info" CREATEGROUP = APIADDR + constant.CreateGroupRouter ACCOUNTCHECK = APIADDR + "/user/account_check" GETGROUPSINFOROUTER = APIADDR + constant.GetGroupsInfoRouter )
View Source
var AdminToken = ""
View Source
var Friend_uid = "3126758667"
View Source
var IsLogStandardOutput = true
View Source
var LogFilePath = ""
View Source
var LogLevel uint32 = 5
View Source
var LogName = ""
View Source
var MaxNumGoroutine = 100000
View Source
var MemberUserID = "2101502031"
View Source
var PlatformID = int32(3)
View Source
var (
RELIABILITY = "reliability_"
)
常量
View Source
var RecvAllMsg map[string]*SendRecvTime //msgid->send+recv
View Source
var RecvMsgMapLock sync.RWMutex
View Source
var ReliabilityUserA = 1234567
View Source
var ReliabilityUserB = 1234567
View Source
var SendFailedAllMsg map[string]string
View Source
var SendMsgMapLock sync.RWMutex
View Source
var SendSuccAllMsg map[string]*SendRecvTime //msgid->send+recv:
View Source
var TestgroupID = "3109164461"
Functions ¶
func CheckReliabilityResult ¶
func DoSetGroupApplyMemberFriend ¶
func DoSetGroupApplyMemberFriend()
func DoSetGroupInfo ¶
func DoSetGroupInfo()
func DoSetGroupLookMemberInfo ¶
func DoSetGroupLookMemberInfo()
func DoSetGroupVerification ¶
func DoSetGroupVerification()
func DoTestAcceptFriendApplication ¶
func DoTestAcceptFriendApplication()
func DoTestAcceptGroupApplication ¶
func DoTestAcceptGroupApplication(uid string)
func DoTestAddFriend ¶
func DoTestAddFriend()
func DoTestAddToBlackList ¶
func DoTestAddToBlackList(userID string)
func DoTestCheckFriend ¶
func DoTestCheckFriend()
func DoTestClearMsg ¶
func DoTestClearMsg()
func DoTestClearOneConversation ¶
func DoTestClearOneConversation()
func DoTestCreateGroup ¶
func DoTestCreateGroup()
func DoTestCreateImageMessageFromFullPath ¶
func DoTestCreateImageMessageFromFullPath() string
func DoTestCreateOtherMessageFromFullPath ¶
func DoTestCreateOtherMessageFromFullPath() string
func DoTestCreateTextMessage ¶
func DoTestCreateVideoMessageFromFullPath ¶
func DoTestCreateVideoMessageFromFullPath() string
func DoTestDeleteAllMsgFromLocalAndSvr ¶
func DoTestDeleteAllMsgFromLocalAndSvr()
func DoTestDeleteConversationMsgFromLocalAndSvr ¶
func DoTestDeleteConversationMsgFromLocalAndSvr(conversationID string)
func DoTestDeleteFromBlackList ¶
func DoTestDeleteFromBlackList(userID string)
func DoTestDeleteMessageFromLocalStorage ¶
func DoTestDeleteMessageFromLocalStorage()
func DoTestFindMessageList ¶
func DoTestFindMessageList()
func DoTestGetHistoryMessage(userID string) { var testGetHistoryCallBack GetHistoryCallBack testGetHistoryCallBack.OperationID = utils.OperationIDGenerator() var params sdk_params_callback.GetHistoryMessageListParams params.UserID = userID params.ConversationID = "super_group_3907826375" //params.StartClientMsgID = "97f12899778823019f13ea46b0c1e6dd" params.Count = 10 open_im_sdk.GetHistoryMessageList(testGetHistoryCallBack, testGetHistoryCallBack.OperationID, utils.StructToJsonString(params)) }
func DoTestGetAdvancedHistoryMessageList ¶
func DoTestGetAdvancedHistoryMessageList()
func DoTestGetAllConversation ¶
func DoTestGetAllConversation()
func DoTestGetBlackList ¶
func DoTestGetBlackList()
func DoTestGetConversationListSplit ¶
func DoTestGetConversationListSplit()
func DoTestGetConversationRecvMessageOpt ¶
func DoTestGetConversationRecvMessageOpt(list string)
func DoTestGetConversations ¶
func DoTestGetConversations(conversationIDs string)
func DoTestGetDesignatedFriendsInfo ¶
func DoTestGetDesignatedFriendsInfo()
func DoTestGetFriendApplicationList ¶
func DoTestGetFriendApplicationList()
func DoTestGetGroupsInfo ¶
func DoTestGetGroupsInfo()
func DoTestGetJoinedGroupList ¶
func DoTestGetJoinedGroupList()
func DoTestGetMessageListReactionExtensions ¶
func DoTestGetMessageListReactionExtensions(operationID string)
func DoTestGetOneConversation ¶
func DoTestGetOneConversation(friendID string)
func DoTestGetRecvGroupApplicationList ¶
func DoTestGetRecvGroupApplicationList()
func DoTestGetSelfUserInfo ¶
func DoTestGetSelfUserInfo()
func DoTestGetSendFriendApplicationList ¶
func DoTestGetSendFriendApplicationList()
func DoTestGetUserReqGroupApplicationList ¶
func DoTestGetUserReqGroupApplicationList()
func DoTestGetUsersInfo ¶
func DoTestGetUsersInfo()
func DoTestJoinGroup ¶
func DoTestJoinGroup()
func DoTestQuitGroup ¶
func DoTestQuitGroup()
func DoTestRefuseFriendApplication ¶
func DoTestRefuseFriendApplication()
func DoTestSearchGroups ¶
func DoTestSearchGroups()
func DoTestSearchLocalMessages ¶
func DoTestSearchLocalMessages()
func DoTestSendImageMsg ¶
func DoTestSendImageMsg(recvID string)
func DoTestSendMsg ¶
func DoTestSendMsg2 ¶
func DoTestSendMsg2(sendId, recvID string)
func DoTestSendMsg2Group ¶
func DoTestSendMsg2c2c ¶
func DoTestSendOtherMsg ¶
func DoTestSendOtherMsg(sendId, recvID string)
func DoTestSendVideo ¶
func DoTestSendVideo(sendId, recvID string)
func DoTestSetAppBackgroundStatus ¶
func DoTestSetAppBackgroundStatus(isBackground bool)
func DoTestSetAppBadge ¶
func DoTestSetAppBadge()
func DoTestSetBurnDuration ¶
func DoTestSetBurnDuration(conversationID string)
func DoTestSetMessageReactionExtensions ¶
func DoTestSetMessageReactionExtensions()
func DoTestSetMsgDestructTime ¶
func DoTestSetMsgDestructTime(conversationID string)
func DoTestSetSelfInfo ¶
func DoTestSetSelfInfo()
func DotestDeleteFriend ¶
func DotestDeleteFriend(userID string)
func DotestGetFriendList ¶
func DotestGetFriendList()
func DotestGetGroupMemberList ¶
func DotestGetGroupMemberList()
func DotestGetGroupMemberListByJoinTimeFilter ¶
func DotestGetGroupMemberListByJoinTimeFilter()
func DotestGetRecvGroupApplicationList ¶
func DotestGetRecvGroupApplicationList() string
func DotestInviteUserToGroup ¶
func DotestInviteUserToGroup()
func DotestKickGroupMember ¶
func DotestKickGroupMember()
func DotestRefuseGroupApplication ¶
func DotestRefuseGroupApplication(uid string)
func DotestSearchFriends ¶
func DotestSearchFriends()
func DotestSetFriendRemark ¶
func DotestSetFriendRemark()
func DotestSetGroupMemberNickname ¶
func DotestSetGroupMemberNickname(myUserID string)
func DotestTransferGroupOwner ¶
func DotestTransferGroupOwner()
func InOutDoTest ¶
func InOutDoTest(uid, tk, ws, api string)
func InOutDoTestSendMsg ¶
func InOutDoTestSendMsg(sendId, receiverID string)
func InOutLogout ¶
func InOutLogout()
func InOutlllogin ¶
func InOutlllogin(uid, tk string)
func PressInitAndLogin ¶
func RegisterOnlineAccounts ¶
func RegisterOnlineAccounts(number int)
func RegisterPressUser ¶
func RegisterPressUser(id int)
func RegisterReliabilityUser ¶
func ReliabilityInitAndLogin ¶
func ReliabilityOne ¶
func ReliabilityTest ¶
func RunGetToken ¶
func SetListenerAndLogin ¶
func SetListenerAndLogin(uid, tk string)
func SetTestFriendID ¶
func SetTestFriendID(friendUserID string)
func SetTestGroupID ¶
func SetTestGroupID(groupID, memberID string)
func WorkGroupMsgDelayOne ¶
func WorkGroupMsgDelayTest ¶
func WorkGroupPressOne ¶
func WorkGroupPressTest ¶
func WorkGroupRegisterReliabilityUser ¶
func WorkGroupRegisterReliabilityUser(id int)
func WorkGroupReliabilityOne ¶
Types ¶
type AddMessageReactionExtensionsCallBack ¶
type AddMessageReactionExtensionsCallBack struct {
OperationID string
}
func (AddMessageReactionExtensionsCallBack) OnError ¶
func (g AddMessageReactionExtensionsCallBack) OnError(errCode int32, errMsg string)
func (AddMessageReactionExtensionsCallBack) OnSuccess ¶
func (g AddMessageReactionExtensionsCallBack) OnSuccess(data string)
type BaseSuccessFailed ¶
type BaseSuccessFailed struct {
// contains filtered or unexported fields
}
func (*BaseSuccessFailed) OnError ¶
func (b *BaseSuccessFailed) OnError(errCode int32, errMsg string)
func (*BaseSuccessFailed) OnSuccess ¶
func (b *BaseSuccessFailed) OnSuccess(data string)
type BaseSuccessFailedTest ¶
type BaseSuccessFailedTest struct {
// contains filtered or unexported fields
}
func (*BaseSuccessFailedTest) OnError ¶
func (b *BaseSuccessFailedTest) OnError(errCode int32, errMsg string)
func (*BaseSuccessFailedTest) OnSuccess ¶
func (b *BaseSuccessFailedTest) OnSuccess(data string)
type BatchMsg ¶
type BatchMsg struct { }
func (*BatchMsg) OnRecvNewMessages ¶
func (*BatchMsg) OnRecvOfflineNewMessages ¶
type DeleteConversationCallBack ¶
type DeleteConversationCallBack struct { }
func (DeleteConversationCallBack) OnError ¶
func (d DeleteConversationCallBack) OnError(errCode int32, errMsg string)
func (DeleteConversationCallBack) OnSuccess ¶
func (d DeleteConversationCallBack) OnSuccess(data string)
type DeleteMessageCallBack ¶
type DeleteMessageCallBack struct {
Msg string
}
func (DeleteMessageCallBack) GetMessage ¶
func (d DeleteMessageCallBack) GetMessage() string
func (DeleteMessageCallBack) OnError ¶
func (d DeleteMessageCallBack) OnError(errCode int32, errMsg string)
func (*DeleteMessageCallBack) OnSuccess ¶
func (d *DeleteMessageCallBack) OnSuccess(data string)
type DeleteMsgCallBack ¶
type DeleteMsgCallBack struct {
OperationID string
}
func (DeleteMsgCallBack) OnError ¶
func (g DeleteMsgCallBack) OnError(errCode int32, errMsg string)
func (DeleteMsgCallBack) OnSuccess ¶
func (g DeleteMsgCallBack) OnSuccess(data string)
type FindMessageListCallBack ¶
type FindMessageListCallBack struct {
OperationID string
}
func (FindMessageListCallBack) OnError ¶
func (g FindMessageListCallBack) OnError(errCode int32, errMsg string)
func (FindMessageListCallBack) OnSuccess ¶
func (g FindMessageListCallBack) OnSuccess(data string)
type GetHistoryCallBack ¶
func (GetHistoryCallBack) OnError ¶
func (g GetHistoryCallBack) OnError(errCode int32, errMsg string)
func (GetHistoryCallBack) OnSuccess ¶
func (g GetHistoryCallBack) OnSuccess(data string)
type GetHistoryReverseCallBack ¶
type GetHistoryReverseCallBack struct {
OperationID string
}
func (GetHistoryReverseCallBack) OnError ¶
func (g GetHistoryReverseCallBack) OnError(errCode int32, errMsg string)
func (GetHistoryReverseCallBack) OnSuccess ¶
func (g GetHistoryReverseCallBack) OnSuccess(data string)
type GetMessageListReactionExtensionsCallBack ¶
type GetMessageListReactionExtensionsCallBack struct {
OperationID string
}
func (GetMessageListReactionExtensionsCallBack) OnError ¶
func (g GetMessageListReactionExtensionsCallBack) OnError(errCode int32, errMsg string)
func (GetMessageListReactionExtensionsCallBack) OnSuccess ¶
func (g GetMessageListReactionExtensionsCallBack) OnSuccess(data string)
type GetTokenReq ¶
type MsgListenerCallBak ¶
type MsgListenerCallBak struct { }
func (*MsgListenerCallBak) OnMsgDeleted ¶
func (m *MsgListenerCallBak) OnMsgDeleted(s string)
func (*MsgListenerCallBak) OnNewRecvMessageRevoked ¶
func (m *MsgListenerCallBak) OnNewRecvMessageRevoked(messageRevoked string)
func (MsgListenerCallBak) OnRecvC2CReadReceipt ¶
func (m MsgListenerCallBak) OnRecvC2CReadReceipt(data string)
func (*MsgListenerCallBak) OnRecvGroupReadReceipt ¶
func (m *MsgListenerCallBak) OnRecvGroupReadReceipt(groupMsgReceiptList string)
func (*MsgListenerCallBak) OnRecvMessageExtensionsAdded ¶
func (m *MsgListenerCallBak) OnRecvMessageExtensionsAdded(msgID string, reactionExtensionList string)
func (*MsgListenerCallBak) OnRecvMessageExtensionsChanged ¶
func (m *MsgListenerCallBak) OnRecvMessageExtensionsChanged(msgID string, reactionExtensionList string)
func (*MsgListenerCallBak) OnRecvMessageExtensionsDeleted ¶
func (m *MsgListenerCallBak) OnRecvMessageExtensionsDeleted(msgID string, reactionExtensionKeyList string)
func (MsgListenerCallBak) OnRecvMessageRevoked ¶
func (m MsgListenerCallBak) OnRecvMessageRevoked(msgId string)
func (*MsgListenerCallBak) OnRecvNewMessage ¶
func (m *MsgListenerCallBak) OnRecvNewMessage(msg string)
func (*MsgListenerCallBak) OnRecvOfflineNewMessage ¶
func (m *MsgListenerCallBak) OnRecvOfflineNewMessage(message string)
func (*MsgListenerCallBak) OnRecvOnlineOnlyMessage ¶ added in v3.5.1
func (m *MsgListenerCallBak) OnRecvOnlineOnlyMessage(message string)
type RegisterReq ¶
type SearchLocalMessagesCallBack ¶
type SearchLocalMessagesCallBack struct {
OperationID string
}
func (SearchLocalMessagesCallBack) OnError ¶
func (g SearchLocalMessagesCallBack) OnError(errCode int32, errMsg string)
func (SearchLocalMessagesCallBack) OnSuccess ¶
func (g SearchLocalMessagesCallBack) OnSuccess(data string)
type SendRecvTime ¶
type SetAppBadgeCallBack ¶
type SetAppBadgeCallBack struct {
OperationID string
}
func (SetAppBadgeCallBack) OnError ¶
func (g SetAppBadgeCallBack) OnError(errCode int32, errMsg string)
func (SetAppBadgeCallBack) OnSuccess ¶
func (g SetAppBadgeCallBack) OnSuccess(data string)
type SetMessageReactionExtensionsCallBack ¶
type SetMessageReactionExtensionsCallBack struct {
OperationID string
}
func (SetMessageReactionExtensionsCallBack) OnError ¶
func (g SetMessageReactionExtensionsCallBack) OnError(errCode int32, errMsg string)
func (SetMessageReactionExtensionsCallBack) OnSuccess ¶
func (g SetMessageReactionExtensionsCallBack) OnSuccess(data string)
type TestClearMsg ¶
type TestClearMsg struct {
OperationID string
}
func (*TestClearMsg) OnError ¶
func (t *TestClearMsg) OnError(errCode int32, errMsg string)
func (*TestClearMsg) OnSuccess ¶
func (t *TestClearMsg) OnSuccess(data string)
type TestDeleteConversation ¶
type TestDeleteConversation struct {
OperationID string
}
func (TestDeleteConversation) OnError ¶
func (t TestDeleteConversation) OnError(errCode int32, errMsg string)
func (TestDeleteConversation) OnSuccess ¶
func (t TestDeleteConversation) OnSuccess(data string)
type TestGetAllConversationListCallBack ¶
type TestGetAllConversationListCallBack struct {
OperationID string
}
func (TestGetAllConversationListCallBack) OnError ¶
func (t TestGetAllConversationListCallBack) OnError(errCode int32, errMsg string)
func (TestGetAllConversationListCallBack) OnSuccess ¶
func (t TestGetAllConversationListCallBack) OnSuccess(data string)
type TestGetConversationListSplitCallBack ¶
type TestGetConversationListSplitCallBack struct {
OperationID string
}
func (TestGetConversationListSplitCallBack) OnError ¶
func (t TestGetConversationListSplitCallBack) OnError(errCode int32, errMsg string)
func (TestGetConversationListSplitCallBack) OnSuccess ¶
func (t TestGetConversationListSplitCallBack) OnSuccess(data string)
type TestGetConversationRecvMessageOpt ¶
type TestGetConversationRecvMessageOpt struct {
OperationID string
}
func (TestGetConversationRecvMessageOpt) OnError ¶
func (t TestGetConversationRecvMessageOpt) OnError(errCode int32, errMsg string)
func (TestGetConversationRecvMessageOpt) OnSuccess ¶
func (t TestGetConversationRecvMessageOpt) OnSuccess(data string)
type TestGetOneConversationCallBack ¶
type TestGetOneConversationCallBack struct { }
func (TestGetOneConversationCallBack) OnError ¶
func (t TestGetOneConversationCallBack) OnError(errCode int32, errMsg string)
func (TestGetOneConversationCallBack) OnSuccess ¶
func (t TestGetOneConversationCallBack) OnSuccess(data string)
type TestMarkGroupMessageAsRead ¶
type TestMarkGroupMessageAsRead struct {
OperationID string
}
func (TestMarkGroupMessageAsRead) OnError ¶
func (t TestMarkGroupMessageAsRead) OnError(errCode int32, errMsg string)
func (TestMarkGroupMessageAsRead) OnSuccess ¶
func (t TestMarkGroupMessageAsRead) OnSuccess(data string)
type TestModifyGroupMessageReaction ¶
type TestModifyGroupMessageReaction struct {
OperationID string
}
func (*TestModifyGroupMessageReaction) OnError ¶
func (t *TestModifyGroupMessageReaction) OnError(errCode int32, errMsg string)
func (*TestModifyGroupMessageReaction) OnSuccess ¶
func (t *TestModifyGroupMessageReaction) OnSuccess(data string)
type TestSearchLocalMessages ¶
type TestSearchLocalMessages struct {
OperationID string
}
func (TestSearchLocalMessages) OnError ¶
func (t TestSearchLocalMessages) OnError(errCode int32, errMsg string)
func (TestSearchLocalMessages) OnSuccess ¶
func (t TestSearchLocalMessages) OnSuccess(data string)
type TestSendImg ¶
type TestSendImg struct { }
func (TestSendImg) OnError ¶
func (TestSendImg) OnError(code int, msg string)
func (TestSendImg) OnProgress ¶
func (TestSendImg) OnProgress(progress int)
func (TestSendImg) OnSuccess ¶
func (TestSendImg) OnSuccess(data string)
type TestSendMsgCallBack ¶
type TestSendMsgCallBack struct { OperationID string // contains filtered or unexported fields }
func (*TestSendMsgCallBack) OnError ¶
func (t *TestSendMsgCallBack) OnError(errCode int32, errMsg string)
func (*TestSendMsgCallBack) OnProgress ¶
func (t *TestSendMsgCallBack) OnProgress(progress int)
func (*TestSendMsgCallBack) OnSuccess ¶
func (t *TestSendMsgCallBack) OnSuccess(data string)
type TestSendMsgCallBackPress ¶
type TestSendMsgCallBackPress struct { OperationID string // contains filtered or unexported fields }
func (*TestSendMsgCallBackPress) OnError ¶
func (t *TestSendMsgCallBackPress) OnError(errCode int32, errMsg string)
func (*TestSendMsgCallBackPress) OnProgress ¶
func (t *TestSendMsgCallBackPress) OnProgress(progress int)
func (*TestSendMsgCallBackPress) OnSuccess ¶
func (t *TestSendMsgCallBackPress) OnSuccess(data string)
type TestSetConversationDraft ¶
type TestSetConversationDraft struct { }
func DoTestSetConversationDraft() { var test TestSetConversationDraft open_im_sdk.SetConversationDraft("single_c93bc8b171cce7b9d1befb389abfe52f", "hah", test)
}
func (TestSetConversationDraft) OnError ¶
func (t TestSetConversationDraft) OnError(errCode int32, errMsg string)
func (TestSetConversationDraft) OnSuccess ¶
func (t TestSetConversationDraft) OnSuccess(data string)
type TestSetConversationPinnedCallback ¶
type TestSetConversationPinnedCallback struct {
OperationID string
}
func (TestSetConversationPinnedCallback) OnError ¶
func (t TestSetConversationPinnedCallback) OnError(errCode int32, errMsg string)
func (TestSetConversationPinnedCallback) OnSuccess ¶
func (t TestSetConversationPinnedCallback) OnSuccess(data string)
type UpdateFcmTokenCallBack ¶
type UpdateFcmTokenCallBack struct {
OperationID string
}
func (UpdateFcmTokenCallBack) OnError ¶
func (g UpdateFcmTokenCallBack) OnError(errCode int32, errMsg string)
func (UpdateFcmTokenCallBack) OnSuccess ¶
func (g UpdateFcmTokenCallBack) OnSuccess(data string)
Click to show internal directories.
Click to hide internal directories.