Commit graph

9 commits

Author SHA1 Message Date
Joachim Bauch f6fe960534
Reuse backoff waiting code in NATS client. 2024-02-27 16:12:04 +01:00
Joachim Bauch 0115c97946
Refactor asynchronous events to central location. 2022-06-24 13:37:35 +02:00
Joachim Bauch 70f9f7ea91
Also track subscriber streams by type. 2021-08-10 08:50:40 +02:00
Joachim Bauch 7618bc683c
Ignore room NATS messages that were sent before the room was joined.
Can happen mostly during tests (e.g. TestClientTakeoverRoomSession)
where the new client could receive the "leave" event that was sent
before it joined the room (but got delivered after joining).
2021-06-08 09:20:18 +02:00
Joachim Bauch 2f4414561e
No need to include trailing newline in log messages. 2021-06-04 16:42:17 +02:00
Joachim Bauch 762d1512c4
Remove unused "Request" method from NATS client. 2021-06-04 15:16:16 +02:00
Joachim Bauch c91b0de254
Add tests for regular NATS client. 2021-06-04 15:13:33 +02:00
Joachim Bauch 9b0c4fab00
Update nats.go to 1.10.0 2021-04-13 16:47:28 +02:00
Joachim Bauch 8ba2e0ad64
Switch dependency tracking to Go modules.
With that bump minimum required version to Go 1.13.
2021-04-09 16:15:00 +02:00
Renamed from src/signaling/natsclient.go (Browse further)