xmpp/handler.go -rw-r--r-- 833 bytes
all: allow encoding structs from within handlers
Revert "all: pass Session directly to handler"

This reverts commit 7e76defde884af7cd63b3d6bb7065694db076b8f.
all: pass Session directly to handler
all: update copyright message

[ci skip]
xmpp: allow handlers to write to the session

This also restructures Session to be an xmlstream.TokenWriter instead of
having a method to return one.
xmpp: back to being unopinionated about handlers
xmpp: remove mux in favor of a middleware like API
xmpp: add experimental ServeMux API
Rework handler API

Also move the handler off the config, which made no sense and remove
concurrency that should not be hidden from the user.
Implement session send/receive API

See #19
Remove old handler code
Fix some copy/pasta copyright dates
Add basic xmpp package docs

Add copyright header to all go files
Update stream creation / add empty Handler
Minor code cleanup
Start working on XMPP/Connection handlers