go-xmpp/_examples/xmpp_pubsub_client/README.md

18 lines
468 B
Markdown
Raw Normal View History

2020-01-14 18:21:29 +00:00
# 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
2020-01-20 11:24:01 +00:00
You need to have a running jabber server, like [ejabberd](https://www.ejabberd.im/) that supports [XEP-0060](https://xmpp.org/extensions/xep-0060.html).
2020-01-14 18:21:29 +00:00
## How to use
Just run :
```
go run xmpp_ps_client.go
2020-01-20 11:24:01 +00:00
```