mirror of
https://github.com/FluuxIO/go-xmpp
synced 2024-11-11 07:11:03 +00:00
8798ff6fc1
- Fixed commands from v 0.4.0 and tests - Added primitive Result Sets support (XEP-0059) |
||
---|---|---|
.. | ||
README.md | ||
xmpp_component.go |
xmpp_component
This component will connect to ejabberd and act as a subdomain "service" of your primary XMPP domain (in that case localhost).
This component does nothing expect connect and show up in service discovery.
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".