Documentation ¶
Index ¶
- Variables
- func CheckReliabilityResult(msgNumOneClient int, clientNum int) bool
- func CreateWorkGroup(number int) string
- func DoSetGroupApplyMemberFriend()
- func DoSetGroupInfo()
- func DoSetGroupLookMemberInfo()
- func DoSetGroupVerification()
- func DoTest(uid, tk, ws, api string)
- func DoTestAccept()
- func DoTestAcceptFriendApplication()
- func DoTestAcceptGroupApplication(uid string)
- func DoTestAddFriend()
- func DoTestAddToBlackList()
- func DoTestCancel()
- func DoTestCheckFriend()
- func DoTestClearMsg()
- func DoTestCreateGroup()
- func DoTestCreateImageMessageFromFullPath() string
- func DoTestCreateOtherMessageFromFullPath() string
- func DoTestCreateTextMessage(text string) string
- func DoTestCreateTextMessageReliability(mgr *login.LoginMgr, text string) string
- func DoTestCreateVideoMessageFromFullPath() string
- func DoTestDeleteAllMsgFromLocalAndSvr()
- func DoTestDeleteConversation()
- func DoTestDeleteConversationMsgFromLocalAndSvr(conversationID string)
- func DoTestDeleteFromBlackList()
- func DoTestDeleteMessageFromLocalAndSvr(callback open_im_sdk_callback.Base, message string)
- func DoTestFindMessageList()
- func DoTestGetAdvancedHistoryMessageList(testGetHistoryCallBack GetHistoryCallBack, seq uint32)
- func DoTestGetAllConversation()
- func DoTestGetBlackList()
- func DoTestGetConversationListSplit()
- func DoTestGetConversationRecvMessageOpt(list string)
- func DoTestGetConversations(conversationIDs string)
- func DoTestGetDepartmentInfo(departmentID string)
- func DoTestGetDepartmentMember()
- func DoTestGetDepartmentMemberAndSubDepartment()
- func DoTestGetDesignatedFriendsInfo()
- func DoTestGetFriendApplicationList()
- func DoTestGetGroupHistoryMessage()
- func DoTestGetGroupsInfo()
- func DoTestGetHistoryMessage(userID string)
- func DoTestGetHistoryMessageReverse(userID string)
- func DoTestGetJoinedGroupList()
- func DoTestGetOneConversation(friendID string)
- func DoTestGetParentDepartmentList(departmentID string)
- func DoTestGetRecvGroupApplicationList()
- func DoTestGetSendFriendApplicationList()
- func DoTestGetSubDepartment()
- func DoTestGetUserInDepartment()
- func DoTestGetUserReqGroupApplicationList()
- func DoTestGetUsersInfo()
- func DoTestHungUp()
- func DoTestInvite(userID string)
- func DoTestInviteInGroup()
- func DoTestJoinGroup()
- func DoTestMarkGroupMessageAsRead()
- func DoTestQuitGroup()
- func DoTestRefuseFriendApplication()
- func DoTestReject()
- func DoTestSearchGroups()
- func DoTestSearchLocalMessages()
- func DoTestSearchOrganization(input string, offset, count int)
- 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 DoTestSendMsg2c2c(sendId, recvID string, index int)
- func DoTestSendOtherMsg(sendId, recvID string)
- func DoTestSendVideo(sendId, recvID string)
- func DoTestSetAppBadge()
- func DoTestSetConversationPinned(conversationID string, pin bool)
- func DoTestSetConversationRecvMessageOpt(conversationIDs []string, opt int)
- func DoTestSetGroupMemberRoleLevel(groupID, userID string, roleLevel int)
- func DoTestSetOneConversationPrivateChat(conversationID string, privateChat bool)
- func DoTestSetOneConversationRecvMessageOpt(conversationID string, opt int)
- func DoTestSetSelfInfo()
- func DoTestSignalGetRoomByGroupID(groupID string)
- func DoTestUpdateFcmToken()
- func DotestCos()
- func DotestDeleteFriend()
- 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 DotestUploadFile()
- func GenUid(uid int, prefix string) string
- func GenWsConn(id int)
- func GetCmd(myUid int, filename string) int
- func GetFileContentAsStringLines(filePath string) ([]string, error)
- func GetGroupMemberNum(groupID string) uint32
- func InOutDoTest(uid, tk, ws, api string)
- func InOutDoTestSendMsg(sendId, receiverID string)
- func InOutLogou()
- func InOutlllogin(uid, tk string)
- func InviteListToGroup(userIDList []string, groupID string)
- func InviteToGroup(userID string, groupID string)
- func OnlineTest(number int)
- 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 RegisterWorkGroupAccounts(number int)
- func RegisterWorkGroupPressAccounts(number int)
- 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, ws *interaction.Ws) bool
- func SetTestFriendID(friendUserID string)
- func SetTestGroupID(groupID, memberID string)
- func SetTestInviteInfo() *api.InvitationInfo
- func TestClearWorkMomentsNotification()
- func TestGetWorkMomentsNotification()
- func TestGetWorkMomentsUnReadCount()
- 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 BaseSuccessFailed
- type BaseSuccessFailedTest
- type BatchMsg
- type CoreNode
- type DeleteConversationCallBack
- type DeleteMessageCallBack
- type FindMessageListCallBack
- type GetHistoryCallBack
- type GetHistoryReverseCallBack
- type GetTokenReq
- type MsgListenerCallBak
- func (m *MsgListenerCallBak) OnNewRecvMessageRevoked(messageRevoked string)
- func (m MsgListenerCallBak) OnRecvC2CReadReceipt(data string)
- func (m *MsgListenerCallBak) OnRecvGroupReadReceipt(groupMsgReceiptList string)
- func (m MsgListenerCallBak) OnRecvMessageRevoked(msgId string)
- func (m *MsgListenerCallBak) OnRecvNewMessage(msg string)
- type RegisterReq
- type ResToken
- type SearchLocalMessagesCallBack
- type SendRecvTime
- type SetAppBadgeCallBack
- type TestClearMsg
- type TestDeleteConversation
- type TestGetAllConversationListCallBack
- type TestGetConversationListSplitCallBack
- type TestGetConversationRecvMessageOpt
- type TestGetOneConversationCallBack
- type TestMarkGroupMessageAsRead
- type TestSearchLocalMessages
- type TestSendImg
- type TestSendMsgCallBack
- type TestSendMsgCallBackPress
- type TestSetConversationDraft
- type TestSetConversationPinnedCallback
- type UpdateFcmTokenCallBack
- type WBase
- type XBase
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TESTIP = "43.155.69.205" //TESTIP = "121.37.25.71" APIADDR = "http://43.155.69.205" + ":10002" WSADDR = "wss://" + TESTIP + ":50001" REGISTERADDR = APIADDR + "/auth/user_register" TOKENADDR = APIADDR + "/auth/user_token" SECRET = "tuoyun" 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 = "13911112222"
View Source
var (
INVITEUSERTOGROUP = ""
)
View Source
var LogLevel uint32 = 6
View Source
var LogName = ""
View Source
var MaxNumGoroutine = 100000
View Source
var MemberUserID = "2101502031"
View Source
var PlatformID = int32(1)
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 TestRoomID = "room_id_111"
View Source
var TestgroupID = "3109164461"
Functions ¶
func CheckReliabilityResult ¶
func CreateWorkGroup ¶
func DoSetGroupApplyMemberFriend ¶
func DoSetGroupApplyMemberFriend()
func DoSetGroupInfo ¶
func DoSetGroupInfo()
func DoSetGroupLookMemberInfo ¶
func DoSetGroupLookMemberInfo()
func DoSetGroupVerification ¶
func DoSetGroupVerification()
func DoTestAccept ¶
func DoTestAccept()
func DoTestAcceptFriendApplication ¶
func DoTestAcceptFriendApplication()
func DoTestAcceptGroupApplication ¶
func DoTestAcceptGroupApplication(uid string)
func DoTestAddFriend ¶
func DoTestAddFriend()
func DoTestAddToBlackList ¶
func DoTestAddToBlackList()
func DoTestCancel ¶
func DoTestCancel()
func DoTestCheckFriend ¶
func DoTestCheckFriend()
func DoTestClearMsg ¶
func DoTestClearMsg()
func DoTestCreateGroup ¶
func DoTestCreateGroup()
func DoTestCreateImageMessageFromFullPath ¶
func DoTestCreateImageMessageFromFullPath() string
func DoTestCreateOtherMessageFromFullPath ¶
func DoTestCreateOtherMessageFromFullPath() string
func DoTestCreateTextMessage ¶
func DoTestGetOneConversation(sourceID string, sessionType int) { var test TestGetOneConversationCallBack //GetOneConversation(Friend_uid, SingleChatType, test) open_im_sdk.GetOneConversation(sourceID, sessionType, test)
}
func DoTestCreateVideoMessageFromFullPath ¶
func DoTestCreateVideoMessageFromFullPath() string
func DoTestDeleteAllMsgFromLocalAndSvr ¶
func DoTestDeleteAllMsgFromLocalAndSvr()
func DoTestDeleteConversation ¶
func DoTestDeleteConversation()
func DoTestDeleteConversationMsgFromLocalAndSvr ¶
func DoTestDeleteConversationMsgFromLocalAndSvr(conversationID string)
func DoTestDeleteFromBlackList ¶
func DoTestDeleteFromBlackList()
func DoTestDeleteMessageFromLocalAndSvr ¶
func DoTestDeleteMessageFromLocalAndSvr(callback open_im_sdk_callback.Base, message string)
func DoTestFindMessageList ¶
func DoTestFindMessageList()
func DoTestGetAdvancedHistoryMessageList ¶
func DoTestGetAdvancedHistoryMessageList(testGetHistoryCallBack GetHistoryCallBack, seq uint32)
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 DoTestGetDepartmentInfo ¶
func DoTestGetDepartmentInfo(departmentID string)
func DoTestGetDepartmentMember ¶
func DoTestGetDepartmentMember()
func DoTestGetDepartmentMemberAndSubDepartment ¶
func DoTestGetDepartmentMemberAndSubDepartment()
func DoTestGetDesignatedFriendsInfo ¶
func DoTestGetDesignatedFriendsInfo()
func DoTestGetFriendApplicationList ¶
func DoTestGetFriendApplicationList()
func DoTestGetGroupHistoryMessage ¶
func DoTestGetGroupHistoryMessage()
func DoTestGetGroupsInfo ¶
func DoTestGetGroupsInfo()
func DoTestGetHistoryMessage ¶
func DoTestGetHistoryMessage(userID string)
func DoTestGetHistoryMessageReverse ¶
func DoTestGetHistoryMessageReverse(userID string)
func DoTestGetJoinedGroupList ¶
func DoTestGetJoinedGroupList()
func DoTestGetOneConversation ¶
func DoTestGetOneConversation(friendID string)
func DoTestGetParentDepartmentList ¶
func DoTestGetParentDepartmentList(departmentID string)
func DoTestGetRecvGroupApplicationList ¶
func DoTestGetRecvGroupApplicationList()
func DoTestGetSendFriendApplicationList ¶
func DoTestGetSendFriendApplicationList()
func DoTestGetSubDepartment ¶
func DoTestGetSubDepartment()
func DoTestGetUserInDepartment ¶
func DoTestGetUserInDepartment()
func DoTestGetUserReqGroupApplicationList ¶
func DoTestGetUserReqGroupApplicationList()
func DoTestGetUsersInfo ¶
func DoTestGetUsersInfo()
func DoTestHungUp ¶
func DoTestHungUp()
func DoTestInvite ¶
func DoTestInvite(userID string)
func DoTestInviteInGroup ¶
func DoTestInviteInGroup()
func DoTestJoinGroup ¶
func DoTestJoinGroup()
func DoTestMarkGroupMessageAsRead ¶
func DoTestMarkGroupMessageAsRead()
func DoTestQuitGroup ¶
func DoTestQuitGroup()
func DoTestRefuseFriendApplication ¶
func DoTestRefuseFriendApplication()
func DoTestReject ¶
func DoTestReject()
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 DoTestSetAppBadge ¶
func DoTestSetAppBadge()
func DoTestSetSelfInfo ¶
func DoTestSetSelfInfo()
func DoTestSignalGetRoomByGroupID ¶
func DoTestSignalGetRoomByGroupID(groupID string)
func DoTestUpdateFcmToken ¶
func DoTestUpdateFcmToken()
func DotestDeleteFriend ¶
func DotestDeleteFriend()
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 DotestUploadFile ¶
func DotestUploadFile()
func GetGroupMemberNum ¶
func InOutDoTest ¶
func InOutDoTest(uid, tk, ws, api string)
func InOutDoTestSendMsg ¶
func InOutDoTestSendMsg(sendId, receiverID string)
func InOutLogou ¶
func InOutLogou()
func InOutlllogin ¶
func InOutlllogin(uid, tk string)
func InviteListToGroup ¶
func InviteToGroup ¶
func OnlineTest ¶
func OnlineTest(number int)
func PressInitAndLogin ¶
func RegisterOnlineAccounts ¶
func RegisterOnlineAccounts(number int)
func RegisterPressUser ¶
func RegisterPressUser(id int)
func RegisterReliabilityUser ¶
func RegisterWorkGroupAccounts ¶
func RegisterWorkGroupAccounts(number int)
func RegisterWorkGroupPressAccounts ¶
func RegisterWorkGroupPressAccounts(number int)
func ReliabilityInitAndLogin ¶
func ReliabilityOne ¶
func ReliabilityTest ¶
func RunGetToken ¶
func SendTextMessageOnlyForPress ¶
func SendTextMessageOnlyForPress(text, senderID, recvID, groupID, operationID string, ws *interaction.Ws) bool
func SetTestFriendID ¶
func SetTestFriendID(friendUserID string)
func SetTestGroupID ¶
func SetTestGroupID(groupID, memberID string)
func SetTestInviteInfo ¶
func SetTestInviteInfo() *api.InvitationInfo
func TestClearWorkMomentsNotification ¶
func TestClearWorkMomentsNotification()
func TestGetWorkMomentsNotification ¶
func TestGetWorkMomentsNotification()
func TestGetWorkMomentsUnReadCount ¶
func TestGetWorkMomentsUnReadCount()
func WorkGroupMsgDelayOne ¶
func WorkGroupMsgDelayTest ¶
func WorkGroupPressOne ¶
func WorkGroupPressTest ¶
func WorkGroupRegisterReliabilityUser ¶
func WorkGroupRegisterReliabilityUser(id int)
func WorkGroupReliabilityOne ¶
Types ¶
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 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 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 GetTokenReq ¶
type MsgListenerCallBak ¶
type MsgListenerCallBak struct { }
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) OnRecvMessageRevoked ¶
func (m MsgListenerCallBak) OnRecvMessageRevoked(msgId string)
func (*MsgListenerCallBak) OnRecvNewMessage ¶
func (m *MsgListenerCallBak) OnRecvNewMessage(msg 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 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 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.