From 9ca9f48c89c69792b0bfc4b00f8808c545ed8bd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?CORNIERE=20R=C3=A9mi?= Date: Tue, 14 Jan 2020 19:21:29 +0100 Subject: [PATCH] Added README.md --- _examples/xmpp_pubsub_client/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 _examples/xmpp_pubsub_client/README.md diff --git a/_examples/xmpp_pubsub_client/README.md b/_examples/xmpp_pubsub_client/README.md new file mode 100644 index 0000000..bb44a86 --- /dev/null +++ b/_examples/xmpp_pubsub_client/README.md @@ -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 +``` \ No newline at end of file