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.
14 lines
363 B
Go
14 lines
363 B
Go
7 years ago
|
package xmpp // import "fluux.io/xmpp"
|
||
9 years ago
|
|
||
|
import "encoding/xml"
|
||
|
|
||
|
// XMPP Packet Parsing
|
||
9 years ago
|
type ClientPresence struct {
|
||
9 years ago
|
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
|
||
|
}
|