mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2025-11-21 00:53:44 -08:00
PubSub protocol support (#142)
* PubSub protocol support Added support for : - XEP-0050 (Command)) - XEP-0060 (PubSub) - XEP-0004 (Forms) Fixed the NewClient function by adding parsing of the domain from the JID if no domain is provided in transport config. Updated xmpp_jukebox example * Delete useless pubsub errors * README.md update Fixed import in echo example * Typo * Fixed raw send on client example * Fixed jukebox example and added a README.md
This commit is contained in:
committed by
Jérôme Sautret
parent
6e2ba9ca57
commit
947fcf0432
@@ -1,6 +1,7 @@
|
||||
package xmpp
|
||||
|
||||
import (
|
||||
"gosrc.io/xmpp/stanza"
|
||||
"os"
|
||||
"time"
|
||||
)
|
||||
@@ -11,7 +12,7 @@ type Config struct {
|
||||
TransportConfiguration
|
||||
|
||||
Jid string
|
||||
parsedJid *Jid // For easier manipulation
|
||||
parsedJid *stanza.Jid // For easier manipulation
|
||||
Credential Credential
|
||||
StreamLogger *os.File // Used for debugging
|
||||
Lang string // TODO: should default to 'en'
|
||||
|
||||
Reference in New Issue
Block a user