MCPcopy
hub / github.com/davyxu/cellnet / SendMsgEvent

Struct SendMsgEvent

event.go:27–30  ·  view source on GitHub ↗

会话开始发送数据事件

Source from the content-addressed store, hash-verified

25
26// 会话开始发送数据事件
27type SendMsgEvent struct {
28 Ses Session
29 Msg interface{} // 用户需要发送的消息
30}
31
32func (self *SendMsgEvent) Message() interface{} {
33 return self.Msg

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected