equal
deleted
inserted
replaced
39 |
39 |
40 // BUG(cjyar) Make this a parameter to NewClient, not a |
40 // BUG(cjyar) Make this a parameter to NewClient, not a |
41 // constant. We should have both a log level and a |
41 // constant. We should have both a log level and a |
42 // syslog.Writer, so the app can control how much time we |
42 // syslog.Writer, so the app can control how much time we |
43 // spend generating log messages, as well as where they go. |
43 // spend generating log messages, as well as where they go. |
44 debug = true |
44 debug = false |
45 ) |
45 ) |
46 |
46 |
47 // The client in a client-server XMPP connection. |
47 // The client in a client-server XMPP connection. |
48 type Client struct { |
48 type Client struct { |
49 // This client's JID. This will be updated asynchronously by |
49 // This client's JID. This will be updated asynchronously by |