mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2024-11-27 04:42:02 -08:00
8798ff6fc1
- Fixed commands from v 0.4.0 and tests - Added primitive Result Sets support (XEP-0059) |
||
---|---|---|
.. | ||
README.md | ||
xmpp_ps_client.go |
PubSub client example
Description
This is a simple example of a client that :
- Creates a node on a service
- Subscribes to that node
- Publishes to that node
- Gets the notification from the publication and prints it on screen
Requirements
You need to hve running jabber server, like ejabberd that supports XEP-0060.
How to use
Just run :
go run xmpp_ps_client.go