(cons *Consumer)
| 63 | } |
| 64 | |
| 65 | func (c *Client) deleteConsumer(cons *Consumer) { |
| 66 | c.l.Lock() |
| 67 | defer c.l.Unlock() |
| 68 | delete(c.consumers, cons) |
| 69 | } |
| 70 | |
| 71 | // Publish used to declare publishers |
| 72 | func (c *Client) Publish(pub *Publisher) { |
no outgoing calls