xmpp.go
changeset 48 6b402eb552f5
parent 46 4a4530b8f622
child 51 1af366d10d32
equal deleted inserted replaced
47:22e575eff35a 48:6b402eb552f5
    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