Joachim Bauch
|
4b76a49355
|
Don't use unnecessary pointer to "json.RawMessage".
The slice is a pointer already.
|
2024-05-16 20:58:42 +02:00 |
|
Joachim Bauch
|
0ee976d377
|
Add Context to clients / sessions.
The Context will be closed when the client disconnects / the session is removed,
so any pending requests can be cancelled.
|
2024-05-16 09:07:59 +02:00 |
|
Joachim Bauch
|
2468443572
|
Add "HandlerClient" interface to support custom implementations.
|
2024-04-23 11:03:30 +02:00 |
|
Joachim Bauch
|
2e6cf7f86b
|
Don't keep expiration timestamp in each session.
Reduces memory size per session and make hub lock usage consistent.
|
2024-04-22 15:07:48 +02:00 |
|
Joachim Bauch
|
92690f4613
|
Update entry if room session id changes.
|
2023-09-05 15:23:19 +02:00 |
|
Joachim Bauch
|
c8e4bfe007
|
Fix various issues found by golangci-lint.
|
2021-04-26 17:25:52 +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 |
|