mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2024-12-12 03:42:02 -08:00
Added README.md
This commit is contained in:
parent
f3218c4afa
commit
9ca9f48c89
17
_examples/xmpp_pubsub_client/README.md
Normal file
17
_examples/xmpp_pubsub_client/README.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# 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](https://www.ejabberd.im/) that supports [XEP-0060](https://xmpp.org/extensions/xep-0060.html).
|
||||||
|
|
||||||
|
## How to use
|
||||||
|
Just run :
|
||||||
|
```
|
||||||
|
go run xmpp_ps_client.go
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user