Documentation
¶
Overview ¶
Package base 一个消息具有的基础数据
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageBase ¶
type MessageBase struct {
// contains filtered or unexported fields
}
MessageBase 基础消息
func (*MessageBase) OnSendFinish ¶
func (mb *MessageBase) OnSendFinish()
OnSendFinish 当消息发送完成时调用该方法,以执行发送完成回调
func (*MessageBase) RegSendFinish ¶
func (mb *MessageBase) RegSendFinish(cb func(interface{}), argv interface{})
RegSendFinish 注册当消息发送完成时的回调
type SendFinishAgent ¶
type SendFinishAgent struct { F func(interface{}) // 用于优化的临时数据指针请注意使用! Argv interface{} // 用于优化的临时数据指针请注意使用! }
SendFinishAgent 发送完成回调具备的信息
Click to show internal directories.
Click to hide internal directories.