changeset 145 | 21a390dd3506 |
parent 144 | 9d7fdb1d2fc1 |
child 146 | aa9a0ae8f875 |
144:9d7fdb1d2fc1 | 145:21a390dd3506 |
---|---|
2 // responds to them. It negotiates TLS and authentication. |
2 // responds to them. It negotiates TLS and authentication. |
3 |
3 |
4 package xmpp |
4 package xmpp |
5 |
5 |
6 import ( |
6 import ( |
7 "crypto/tls" |
|
7 "encoding/xml" |
8 "encoding/xml" |
8 "crypto/tls" |
|
9 "time" |
9 "time" |
10 ) |
10 ) |
11 |
11 |
12 // Callback to handle a stanza with a particular id. |
12 // Callback to handle a stanza with a particular id. |
13 type callback struct { |
13 type callback struct { |