Add support of ping (XEP-0199).
This commit is contained in:
parent
e4acd3d349
commit
7d5b58fc8d
|
|
@ -0,0 +1,13 @@
|
||||||
|
package xmpp
|
||||||
|
|
||||||
|
import (
|
||||||
|
"encoding/xml"
|
||||||
|
)
|
||||||
|
|
||||||
|
const (
|
||||||
|
NSPing = "urn:xmpp:ping"
|
||||||
|
)
|
||||||
|
|
||||||
|
type Ping struct {
|
||||||
|
XMLName xml.Name `xml:"urn:xmpp:ping ping"`
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue