Commit Graph

15 Commits

Author SHA1 Message Date
Wichert Akkerman
96fccbd399 Split out TransportConfiguration
This allows using the same transport configuration from both clients and components.
2019-10-28 16:38:10 +01:00
Wichert Akkerman
a3c62e515e Introduce Transport interface 2019-10-28 16:38:10 +01:00
Mickael Remond
9c8353d081 Introduce Credential structure to define auth type
For now we are planning to support Password and OAuthToken.
In the future, we would like to add certificate-based authentication.
2019-10-01 11:40:31 +02:00
Mickael Remond
d36428fb2f
Avoid copying tls.Config lock
Fixes #90
2019-07-15 18:40:20 +02:00
Mickael Remond
9577036327 Add support for self-signed certificates 2019-07-15 12:22:21 +02:00
Mickael Remond
5992cc2231 Fix XMPP logger consistency
- Rename socketProxy to StreamLogger
- Ensure client send traffic through the logger
2019-06-29 10:47:07 +02:00
Mickael Remond
4d015e5b29
With go modules, we should be able to remove import comments 2019-06-18 16:28:30 +02:00
Mickael Remond
736a60cd1b Use StreamClient interface in StreamManager 2019-06-09 13:08:25 +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
e54260ec68
Clarify use of insecure flag 2019-05-31 19:22:36 +02:00
Mickael Remond
996feb1a40
Better documentation for config 2019-05-31 19:11:15 +02:00
Mickaël Rémond
b030e8dd4b
Merge pull request #13 from hypafrag/xml_charset_reader_support
added charsets support
2019-01-17 12:03:37 +01: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
hypafrag
3a51dce786 added charsets support 2018-10-13 19:45:48 +07:00
Mickael Remond
f70e2ca9a7
Rename options -> config 2018-09-26 16:27:37 +02:00