mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2024-11-24 11:32: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 := 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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user