Mickael Remond
45c7ca74b1
Make client use the new Router
5 years ago
Mickaël Rémond
4d4710463d
Add basic support for keep-alive ( #48 )
...
Fix #35
This should also help with #8
5 years ago
Mickael Remond
411619c2ef
Make channel type more specific (Packet instead of interface{})
...
Thanks to Genofire for spotting this
5 years ago
Mickael Remond
909cf753c9
Fix missing default channel creation
5 years ago
Mickael Remond
736a60cd1b
Use StreamClient interface in StreamManager
5 years ago
Mickael Remond
021f6d3740
Refactor ClientManager into a more generic StreamManager
5 years ago
Mickael Remond
b7461ae97f
Do not reconnect on "connection replaced" stream errors
...
Fix #45
5 years ago
Mickael Remond
2d8d4516fd
Handling basic unrecoverable errors
...
Fix #43
5 years ago
Mickael Remond
d45dd6a44a
Returned client will be nil if parameter are incorrect
5 years ago
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
5 years ago
Mickaël Rémond
91a7cc9c64
Merge pull request #16 from TheoMcGinley/infinite-retries-fix
...
Fixed infinite retries for failed TCP dial
6 years ago
Theo McGinley
48bc14b3e0
Closed receiver chan on error
6 years ago
Theo McGinley
adf2c13a8c
Fixed infinite retries for failed TCP dial
6 years ago
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.
6 years ago
Mickael Remond
95585866c2
Add timing metrics in client.
...
This can be used to monitor/troubleshoot server performance.
6 years ago
Mickael Remond
fa5590e921
Rename Options to Config
6 years ago
Mickael Remond
1c3aaad174
Minor: comment reformat.
6 years ago
Mickael Remond
d6bedfb033
Minor cleanup
7 years ago
Mickael Remond
ad6e09a0f6
Implements send / send raw
7 years ago
Mickael Remond
993ca630f7
Test and code refactor
7 years ago
Mickael Remond
10219ec1e6
Refactor parsing / improve typing
7 years ago
Mickael Remond
24ac2c0526
Keeps component connection open
7 years ago
Mickael Remond
710174b165
Moving XMPP library to Fluux project
7 years ago