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"
|
|
|
|
|
|
|
|
// SASLAuth element
|
|
|
|
type SASLAuth struct {
|
|
|
|
XMLName xml.Name `xml:"urn:ietf:params:xml:ns:xmpp-sasl auth"`
|
|
|
|
Mechanism string `xml:"mechanism,attr"`
|
|
|
|
Body string `xml:",chardata"`
|
|
|
|
}
|
2018-02-07 19:32:11 +01:00
|
|
|
|
|
|
|
// RFC 3920 C.4 SASL name space
|
|
|
|
type SASLMechanisms struct {
|
|
|
|
XMLName xml.Name `xml:"urn:ietf:params:xml:ns:xmpp-sasl mechanisms"`
|
|
|
|
Mechanism []string `xml:"mechanism"`
|
|
|
|
}
|