mirror of https://github.com/FluuxIO/go-xmpp
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
574 B
Go
23 lines
574 B
Go
7 years ago
|
package xmpp // import "fluux.io/xmpp"
|
||
9 years ago
|
|
||
|
import "encoding/xml"
|
||
|
|
||
|
// XMPP Packet Parsing
|
||
|
type streamFeatures struct {
|
||
|
XMLName xml.Name `xml:"http://etherx.jabber.org/streams features"`
|
||
|
StartTLS tlsStartTLS
|
||
|
Caps Caps
|
||
|
Mechanisms saslMechanisms
|
||
|
Bind bindBind
|
||
|
Session sessionSession
|
||
|
Any []xml.Name `xml:",any"`
|
||
|
}
|
||
|
|
||
|
type Caps struct {
|
||
|
XMLName xml.Name `xml:"http://jabber.org/protocol/caps c"`
|
||
|
Hash string `xml:"hash,attr"`
|
||
|
Node string `xml:"node,attr"`
|
||
|
Ver string `xml:"ver,attr"`
|
||
|
Ext string `xml:"ext,attr,omitempty"`
|
||
|
}
|