21 lines
458 B
Go
21 lines
458 B
Go
package messages
|
|
|
|
import "encoding/xml"
|
|
|
|
type StreamError struct {
|
|
XMLName xml.Name `xml:"http://etherx.jabber.org/streams error"`
|
|
Text string `xml:"urn:ietf:params:xml:ns:xmpp-streams text"`
|
|
|
|
Any xml.Name `xml:",any"`
|
|
}
|
|
|
|
// ErrorClient element
|
|
type ErrorClient struct {
|
|
XMLName xml.Name `xml:"jabber:client error"`
|
|
Code string `xml:"code,attr"`
|
|
Type string `xml:"type,attr"`
|
|
Text string `xml:"text"`
|
|
|
|
Any xml.Name `xml:",any"`
|
|
}
|