mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2024-11-24 19:42:00 -08:00
Improves comments
This commit is contained in:
parent
eb2b506e3b
commit
0865f4e35c
@ -26,6 +26,8 @@ func main() {
|
||||
log.Fatalf("%+v", err)
|
||||
}
|
||||
|
||||
// If you pass the client to a connection manager, it will handle the reconnect policy
|
||||
// for you automatically.
|
||||
cm := xmpp.NewClientManager(client, nil)
|
||||
err = cm.Start()
|
||||
// connection can be stopped with cm.Stop()
|
||||
|
Loading…
Reference in New Issue
Block a user