Commit Graph

13 Commits

Author SHA1 Message Date
genofire
d9fdff0839 Add constants (enumlike) for stanza types and simplify packet creation (#62)
* Add constants (enumlike) for stanza types
* NewIQ, NewMessage and NewPresence are now initialized with the Attrs struct
* Update examples
* Do not export backoff code. For now, we do not need to expose backoff in the documentation
* Make presence priority an int8
2019-06-22 11:13:33 +02:00
Mickael Remond
4d015e5b29
With go modules, we should be able to remove import comments 2019-06-18 16:28:30 +02:00
Mickaël Rémond
2f391fde80
Add Client Manager to monitor connection state and trigger reconnect (#39)
- Support for exponential backoff on reconnect to be gentle on the server.
- Clean up client by moving metrics and retry strategy to the connection manager.
- Update echo_client to use client manager
- Fix echo client XMPP message matching

Fixes #21
Improvements for #8
2019-06-06 11:58:50 +02:00
Mickael Remond
f45829916c Add tool to check XMPP certificate on starttls
Minor refactoring
2019-05-16 17:48:53 +02:00
Mickael Remond
5eae7f4ef7
Move project to gosrc.io/xmpp
The URL will be more permanent as this is a place we dedicate as short URL for our go projects.
2018-12-26 18:50:01 +01:00
Mickael Remond
8cb1e1264e
Clean-up 2018-01-23 09:08:21 +01:00
Mickael Remond
cb2af43fe3
Decode presence and message for components 2018-01-23 08:55:15 +01:00
Mickael Remond
10219ec1e6
Refactor parsing / improve typing 2018-01-13 18:50:17 +01:00
Mickael Remond
d2765aec15
Refactor namespace handling 2018-01-13 17:46:10 +01:00
Mickael Remond
24ac2c0526
Keeps component connection open 2018-01-12 19:08:47 +01:00
Mickael Remond
90865aeb8e
Adhoc test component can successfully connect to ejabberd 2018-01-12 18:01:27 +01:00
Mickael Remond
b31c29a03d
Implements dummy auth + stream error 2018-01-11 23:00:59 +01:00
Mickael Remond
710174b165
Moving XMPP library to Fluux project 2018-01-01 18:12:33 +01:00