mirror of https://github.com/FluuxIO/go-xmpp
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
389 B
Go
15 lines
389 B
Go
7 years ago
|
package xmpp // import "fluux.io/xmpp"
|
||
9 years ago
|
|
||
9 years ago
|
// Packet represents the root default structure for an XMPP packet.
|
||
9 years ago
|
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
|
||
|
}
|