equal
deleted
inserted
replaced
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:"mechanism,attr"` |
77 Mechanism string `xml:"mechanism,attr,omitempty"` |
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. |