Documentation ¶
Index ¶
- Variables
- 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 CheckConfigErrCallback(callback open_im_sdk_callback.Base, err error, operationID string)
- 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 DoListener(Li goroutine, ctx context.Context)
- 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 TriggerCmdConnected(ctx context.Context, ch chan Cmd2Value) error
- func TriggerCmdLogOut(ctx context.Context, ch chan Cmd2Value) error
- func TriggerCmdMaxSeq(ctx context.Context, seq *sdk_struct.CmdMaxSeqToMsgSync, ch chan Cmd2Value) error
- func TriggerCmdMsgSyncInReinstall(ctx context.Context, msg sdk_struct.CmdMsgSyncInReinstall, ...) error
- func TriggerCmdNewMsgCome(ctx context.Context, msg sdk_struct.CmdNewMsgComeToConversation, ...) error
- func TriggerCmdNotification(ctx context.Context, msg sdk_struct.CmdNewMsgComeToConversation, ...)
- func TriggerCmdPushMsg(ctx context.Context, msg *sdkws.PushMessages, ch chan Cmd2Value) error
- func TriggerCmdSyncData(ctx context.Context, ch chan Cmd2Value) error
- func TriggerCmdSyncFlag(ctx context.Context, syncFlag int, conversationCh chan Cmd2Value)
- func TriggerCmdSyncReactionExtensions(node SyncReactionExtensionsNode, conversationCh chan Cmd2Value) error
- func TriggerCmdUpdateConversation(ctx context.Context, node UpdateConNode, conversationCh chan<- Cmd2Value) error
- func TriggerCmdUpdateMessage(ctx context.Context, node UpdateMessageNode, conversationCh chan Cmd2Value) error
- func TriggerCmdWakeUp(ch chan Cmd2Value) error
- func UnInitAll(conversationCh chan Cmd2Value) error
- type Cmd2Value
- type DeleteConNode
- type SourceIDAndSessionType
- type SyncReactionExtensionsNode
- type UpdateConInfo
- type UpdateConNode
- type UpdateMessageInfo
- type UpdateMessageNode
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrChanNil = errs.New("channal == nil")
Functions ¶
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 CheckConfigErrCallback ¶
func CheckConfigErrCallback(callback open_im_sdk_callback.Base, err error, operationID string)
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 DoListener ¶
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 TriggerCmdConnected ¶
Connection success trigger
func TriggerCmdMaxSeq ¶
func TriggerCmdMaxSeq(ctx context.Context, seq *sdk_struct.CmdMaxSeqToMsgSync, ch chan Cmd2Value) error
seq trigger
func TriggerCmdMsgSyncInReinstall ¶ added in v3.8.0
func TriggerCmdMsgSyncInReinstall(ctx context.Context, msg sdk_struct.CmdMsgSyncInReinstall, conversationCh chan Cmd2Value) error
func TriggerCmdNewMsgCome ¶
func TriggerCmdNewMsgCome(ctx context.Context, msg sdk_struct.CmdNewMsgComeToConversation, conversationCh chan Cmd2Value) error
func TriggerCmdNotification ¶
func TriggerCmdNotification(ctx context.Context, msg sdk_struct.CmdNewMsgComeToConversation, conversationCh chan Cmd2Value)
func TriggerCmdPushMsg ¶
Push message, msg for msgData slice
func TriggerCmdSyncData ¶ added in v3.8.0
func TriggerCmdSyncFlag ¶ added in v3.8.0
func TriggerCmdSyncReactionExtensions ¶
func TriggerCmdSyncReactionExtensions(node SyncReactionExtensionsNode, conversationCh chan Cmd2Value) error
func TriggerCmdUpdateConversation ¶
func TriggerCmdUpdateConversation(ctx context.Context, node UpdateConNode, conversationCh chan<- Cmd2Value) error
func TriggerCmdUpdateMessage ¶
func TriggerCmdUpdateMessage(ctx context.Context, node UpdateMessageNode, conversationCh chan Cmd2Value) error
func TriggerCmdWakeUp ¶
Types ¶
type DeleteConNode ¶
type SourceIDAndSessionType ¶
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.