mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2024-12-17 14:02:04 -08:00
14 lines
363 B
Go
14 lines
363 B
Go
package xmpp // import "fluux.io/xmpp"
|
|
|
|
import "encoding/xml"
|
|
|
|
// XMPP Packet Parsing
|
|
type ClientPresence struct {
|
|
XMLName xml.Name `xml:"jabber:client presence"`
|
|
Packet
|
|
Show string `xml:"show,attr,omitempty"` // away, chat, dnd, xa
|
|
Status string `xml:"status,attr,omitempty"`
|
|
Priority string `xml:"priority,attr,omitempty"`
|
|
//Error *clientError
|
|
}
|