Documentation ¶
Index ¶
- Variables
- func DoListener(ctx context.Context, li goroutine)
- func GetCaller(skip int) string
- func TriggerCmdConnected(ctx context.Context, ch chan Cmd2Value) error
- func TriggerCmdLogOut(ctx context.Context, 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)
- func TriggerCmdSyncFlag(ctx context.Context, syncFlag int, conversationCh chan Cmd2Value)
- func TriggerCmdUpdateConversation(ctx context.Context, node UpdateConNode, conversationCh chan<- Cmd2Value) error
- func TriggerCmdUpdateMessage(ctx context.Context, node UpdateMessageNode, conversationCh chan Cmd2Value) error
- func TriggerCmdWakeUpDataSync(ctx context.Context, ch 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") ErrTimeout = errors.New("send cmd timeout") )
Functions ¶
func DoListener ¶
func TriggerCmdConnected ¶
TriggerCmdConnected Connection success 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 ¶
TriggerCmdPushMsg Push message, msg for msgData slice
func TriggerCmdSyncData ¶ added in v3.8.0
func TriggerCmdSyncFlag ¶ added in v3.8.0
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
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.