ref: 24885296fb8321a12f73b5ada7c9c6d1271f2c22 xmpp/config.go -rw-r--r-- 2.1 KiB
Implement session send/receive API

See #19
Add Session API and remove Conn
Don't require separate username in Config
Minor function refactor
Update SASL to use new mellium.im/sasl API

Add credentials to config (probably temporarily)
Initial resource List/Parse implementation

Negotiation is not yet implemented
Store features for quick lookup by token name
Make features a slice

Make config constructor functions variadic and take an arbitrary number
of stream features.
Add some new options to Config
Add NoLookup (no SRV or TXT lookup) to Dialer

Also use DialContext on Go 1.7 and avoid annoying hacks
Use Conn as the session and remove Session
Start thinking about sessions, auth, and config