mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2024-11-21 10:02:00 -08:00
Improves comments
This commit is contained in:
parent
2f391fde80
commit
a451e64638
@ -28,7 +28,8 @@ func main() {
|
||||
|
||||
cm := xmpp.NewClientManager(client, nil)
|
||||
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
|
||||
for packet := range client.Recv() {
|
||||
|
Loading…
Reference in New Issue
Block a user