Subscribe subscribes to the given topic and calls the given callback function when a message is published to the topic
(topic PubSubTopic, callback *CallBackFunc)
| 13 | // Subscribe subscribes to the given topic and calls the given callback function |
| 14 | // when a message is published to the topic |
| 15 | Subscribe(topic PubSubTopic, callback *CallBackFunc) string |
| 16 | // Unsubscribe unsubscribes from the given topic |
| 17 | Unsubscribe(topic PubSubTopic, uuid string) error |
| 18 | } |
no outgoing calls