mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2024-11-27 21:02:02 -08:00
14 lines
295 B
Go
14 lines
295 B
Go
|
package xmpp
|
||
|
|
||
|
type Packet struct {
|
||
|
Id string `xml:"id,attr,omitempty"`
|
||
|
From string `xml:"from,attr,omitempty"`
|
||
|
To string `xml:"to,attr,omitempty"`
|
||
|
Type string `xml:"type,attr,omitempty"`
|
||
|
Lang string `xml:"lang,attr,omitempty"`
|
||
|
}
|
||
|
|
||
|
type packetFormatter interface {
|
||
|
XMPPFormat() string
|
||
|
}
|