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.
2018-02-13 20:05:18 +01:00
|
|
|
package messages
|
|
|
|
|
|
|
|
import (
|
|
|
|
"encoding/xml"
|
|
|
|
)
|
|
|
|
|
2018-02-14 10:46:43 +01:00
|
|
|
// XEP-0199: XMPP Ping
|
2018-02-13 20:05:18 +01:00
|
|
|
type Ping struct {
|
|
|
|
XMLName xml.Name `xml:"urn:xmpp:ping ping"`
|
|
|
|
}
|
|
|
|
|
2018-02-14 10:46:43 +01:00
|
|
|
// which XEP ????
|
|
|
|
// where to put: (server part debug? is it part)
|
2018-02-13 20:05:18 +01:00
|
|
|
type IQPrivateQuery struct {
|
|
|
|
XMLName xml.Name `xml:"jabber:iq:private query"`
|
|
|
|
Body []byte `xml:",innerxml"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type IQPrivateRegister struct {
|
|
|
|
XMLName xml.Name `xml:"jabber:iq:register query"`
|
|
|
|
Instructions string `xml:"instructions"`
|
|
|
|
Username string `xml:"username"`
|
|
|
|
Password string `xml:"password"`
|
|
|
|
}
|