equal
deleted
inserted
replaced
66 XMLName xml.Name |
66 XMLName xml.Name |
67 Required *string |
67 Required *string |
68 } |
68 } |
69 |
69 |
70 type mechs struct { |
70 type mechs struct { |
71 Mechanism []string |
71 Mechanism []string `xml:"urn:ietf:params:xml:ns:xmpp-sasl mechanism"` |
72 } |
72 } |
73 |
73 |
74 type auth struct { |
74 type auth struct { |
75 XMLName xml.Name |
75 XMLName xml.Name |
76 Chardata string `xml:"chardata"` |
76 Chardata string `xml:",chardata"` |
77 Mechanism string `xml:"attr"` |
77 Mechanism string `xml:"mechanism,attr"` |
78 Any *Generic |
78 Any *Generic |
79 } |
79 } |
80 |
80 |
81 // One of the three core XMPP stanza types: iq, message, presence. See |
81 // One of the three core XMPP stanza types: iq, message, presence. See |
82 // RFC3920, section 9. |
82 // RFC3920, section 9. |