Add support of ping (XEP-0199).

This commit is contained in:
Chteufleur 2016-10-05 21:24:36 +02:00
parent e4acd3d349
commit 7d5b58fc8d
1 changed files with 13 additions and 0 deletions

13
src/xmpp/ping.go Normal file
View File

@ -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"`
}