Notify new and send client message
(topic string, ty int64, data interface{})
| 96 | |
| 97 | // Notify new and send client message |
| 98 | func (q *QueueProtocol) Notify(topic string, ty int64, data interface{}) (*queue.Message, error) { |
| 99 | return q.notify(topic, ty, data) |
| 100 | } |
| 101 | |
| 102 | // Close close client |
| 103 | func (q *QueueProtocol) Close() { |