Reply reply message to reply chan
(replyMsg *Message)
| 348 | |
| 349 | // Reply reply message to reply chan |
| 350 | func (msg *Message) Reply(replyMsg *Message) { |
| 351 | if msg.chReply == nil { |
| 352 | qlog.Debug("reply a empty chreply", "msg", msg) |
| 353 | return |
| 354 | } |
| 355 | msg.chReply <- replyMsg |
| 356 | } |
| 357 | |
| 358 | // String print the message information |
| 359 | func (msg *Message) String() string { |