summaryrefslogtreecommitdiff
path: root/xmpp/iq.go
diff options
context:
space:
mode:
Diffstat (limited to 'xmpp/iq.go')
-rw-r--r--xmpp/iq.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/xmpp/iq.go b/xmpp/iq.go
index 1c12c8c..4c91b58 100644
--- a/xmpp/iq.go
+++ b/xmpp/iq.go
@@ -7,6 +7,15 @@ import (
"log"
)
+type iq struct {
+ XMLName xml.Name `xml:"jabber:client iq"`
+ Type string `xml:"type,attr,omitempty"`
+ Id string `xml:"id,attr,omitempty"`
+ Bind struct{
+ Jid string `xml:"jid,omitempty"`
+ } `xml:"urn:ietf:params:xml:ns:xmpp-bind bind,omitempty"`
+}
+
type bindRequest struct {
Bind struct {
Xmlns string `xml:"xmlns,attr"`