# HG changeset patch # User Chris Jones # Date 1325294708 25200 # Node ID 569833f08780c33c4a8d6837a83cdd82a22f2ff7 # Parent 7b1f924c75e2c25d5b23fa6c8d9daa5248bb4838 Doc and comment update. diff -r 7b1f924c75e2 -r 569833f08780 README --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README Fri Dec 30 18:25:08 2011 -0700 @@ -0,0 +1,7 @@ +Extensible library for handling the XMPP protocol (RFC 3920). This +code is inspired by, but not derived from, +https://github.com/mattn/go-xmpp/. + +The core of the protocol is handled by xmpp.go, structs.go, and +stream.go. Everything else is an extension, though some of the +provided "extensions" are mandatory pieces of the protocol. diff -r 7b1f924c75e2 -r 569833f08780 stream.go --- a/stream.go Fri Dec 30 17:27:14 2011 -0700 +++ b/stream.go Fri Dec 30 18:25:08 2011 -0700 @@ -170,6 +170,10 @@ } } +// BUG(cjyar) Allow extensions to specify extended structs with +// corresponding namespaces via "func(xml.Name) Stanza". +// BUG(cjyar) Allow extensions to provide filters in the form of "in +// chan<- Stanza, out <-chan Stanza". func (cl *Client) readStream(srvIn <-chan interface{}, cliOut chan<- Stanza) { defer tryClose(srvIn, cliOut)