You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-xmpp/cmd/xmpp_component
Mickael Remond b3a6429e0e
Check for errors in component connect.
5 years ago
..
README.md Add README for component. 5 years ago
xmpp_component.go Check for errors in component connect. 5 years ago

README.md

xmpp_component

This component will connect to ejabberd and act as a subdomain "service" of your primary XMPP domain (in that case localhost).

To be able to connect this component, you need to add a listener to your XMPP server.

Here is an example ejabberd configuration for that component listener:

listen:
...
  -
    port: 8888
    module: ejabberd_service
    password: "mypass"

ejabberd will listen for a component (service) on port 8888 and allows it to connect using the secret "mypass".