sum7
/
yaja
Archived
1
0
Fork 0
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.
yaja/messages/iq_utils.go

25 lines
535 B
Go

package messages
import (
"encoding/xml"
)
// XEP-0199: XMPP Ping
type Ping struct {
XMLName xml.Name `xml:"urn:xmpp:ping ping"`
}
// which XEP ????
// where to put: (server part debug? is it part)
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"`
}