Remove unused types.

This commit is contained in:
Martin Dosch 2024-02-22 17:58:48 +01:00
parent 49054ca9e9
commit 0bcc057225

16
xmpp.go
View File

@ -1262,11 +1262,6 @@ type saslMechanisms struct {
Mechanism []string `xml:"mechanism"`
}
type saslAuth struct {
XMLName xml.Name `xml:"urn:ietf:params:xml:ns:xmpp-sasl auth"`
Mechanism string `xml:",attr"`
}
type saslChannelBindings struct {
XMLName xml.Name `xml:"sasl-channel-binding"`
Text string `xml:",chardata"`
@ -1277,12 +1272,6 @@ type saslChannelBindings struct {
} `xml:"channel-binding"`
}
type saslChallenge string
type saslRspAuth string
type saslResponse string
type saslAbort struct {
XMLName xml.Name `xml:"urn:ietf:params:xml:ns:xmpp-sasl abort"`
}
@ -1368,11 +1357,6 @@ type Delay struct {
Stamp string `xml:"stamp,attr"`
}
type clientText struct {
Lang string `xml:",attr"`
Body string `xml:"chardata"`
}
type clientPresence struct {
XMLName xml.Name `xml:"jabber:client presence"`
From string `xml:"from,attr"`