go-xmpp/_examples/xmpp_pubsub_client
2020-03-06 16:44:01 +01:00
..
README.md Update README.md 2020-01-20 12:24:01 +01:00
xmpp_ps_client.go First commit with dirty tests 2020-03-06 16:44:01 +01: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

You need to have a running jabber server, like ejabberd that supports XEP-0060.

How to use

Just run :

    go run xmpp_ps_client.go