Improves comments

This commit is contained in:
Mickael Remond 2019-06-06 12:01:49 +02:00
parent 2f391fde80
commit a451e64638
No known key found for this signature in database
GPG Key ID: E6F6045D79965AA3

View File

@ -28,7 +28,8 @@ func main() {
cm := xmpp.NewClientManager(client, nil) cm := xmpp.NewClientManager(client, nil)
cm.Start() cm.Start()
// connection can be stopped with cm.Stop(). // connection can be stopped with cm.Stop()
// connection state can be checked by reading cm.Client.CurrentState
// Iterator to receive packets coming from our XMPP connection // Iterator to receive packets coming from our XMPP connection
for packet := range client.Recv() { for packet := range client.Recv() {