xmpp.go
changeset 59 be6815a9653a
parent 57 e6cb3f049137
child 60 6d4f43f7dc19
equal deleted inserted replaced
58:c0e8778bdb80 59:be6815a9653a
    94 	filterOut chan<- <-chan Stanza
    94 	filterOut chan<- <-chan Stanza
    95 	filterIn <-chan <-chan Stanza
    95 	filterIn <-chan <-chan Stanza
    96 }
    96 }
    97 var _ io.Closer = &Client{}
    97 var _ io.Closer = &Client{}
    98 
    98 
    99 // BUG(cjyar) Replace extStanza with a generalized extension interface
    99 // BUG(cjyar): Replace extStanza with a generalized extension interface
   100 // that handles starting filters, registering extended stanzes, and
   100 // that handles starting filters, registering extended stanzes, and
   101 // anything else an extension has to do.
   101 // anything else an extension has to do.
   102 
   102 
   103 // Connect to the appropriate server and authenticate as the given JID
   103 // Connect to the appropriate server and authenticate as the given JID
   104 // with the given password. This function will return as soon as a TCP
   104 // with the given password. This function will return as soon as a TCP