Doc and comment update.
--- /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.
--- 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)