mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2024-11-26 20:32:02 -08:00
1822089db6
* Tests for Component and code style fixes
15 lines
388 B
Go
15 lines
388 B
Go
package stanza
|
|
|
|
import "encoding/xml"
|
|
|
|
// Start of stream
|
|
// Reference: XMPP Core stream open
|
|
// https://tools.ietf.org/html/rfc6120#section-4.2
|
|
type Stream struct {
|
|
XMLName xml.Name `xml:"http://etherx.jabber.org/streams stream"`
|
|
From string `xml:"from,attr"`
|
|
To string `xml:"to,attr"`
|
|
Id string `xml:"id,attr"`
|
|
Version string `xml:"version,attr"`
|
|
}
|