This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
2017-12-14 21:30:07 +01:00
|
|
|
package messages
|
|
|
|
|
|
|
|
import "encoding/xml"
|
|
|
|
|
2018-02-10 13:34:42 +01:00
|
|
|
type StreamError struct {
|
|
|
|
XMLName xml.Name `xml:"http://etherx.jabber.org/streams error"`
|
2018-02-11 11:15:11 +01:00
|
|
|
Text string `xml:"urn:ietf:params:xml:ns:xmpp-streams text"`
|
2018-02-10 13:34:42 +01:00
|
|
|
|
|
|
|
Any xml.Name `xml:",any"`
|
|
|
|
}
|
|
|
|
|
2018-02-07 19:32:11 +01:00
|
|
|
// ErrorClient element
|
|
|
|
type ErrorClient struct {
|
2017-12-14 21:30:07 +01:00
|
|
|
XMLName xml.Name `xml:"jabber:client error"`
|
|
|
|
Code string `xml:"code,attr"`
|
|
|
|
Type string `xml:"type,attr"`
|
|
|
|
Text string `xml:"text"`
|
2018-02-10 13:34:42 +01:00
|
|
|
|
|
|
|
Any xml.Name `xml:",any"`
|
2017-12-14 21:30:07 +01:00
|
|
|
}
|