mirror of
https://github.com/matrix-org/sliding-sync.git
synced 2025-03-10 13:37:11 +00:00

This abstracts the long-pollness of the HTTP connection. Note that we cannot just maintain a server-side buffer of events to feed down the connection because the client can drastically alter _which_ events should be fed to the client. There still needs to be a request/response cycle, except we can factor out retry handling (duplicate request detection) and incrementing of the positions.
14 lines
330 B
Modula-2
14 lines
330 B
Modula-2
module github.com/matrix-org/sync-v3
|
|
|
|
go 1.14
|
|
|
|
require (
|
|
github.com/ReneKroon/ttlcache/v2 v2.8.1
|
|
github.com/gorilla/mux v1.8.0
|
|
github.com/jmoiron/sqlx v1.3.3
|
|
github.com/lib/pq v1.10.1
|
|
github.com/matrix-org/gomatrixserverlib v0.0.0-20210510192107-124228cb9548
|
|
github.com/rs/zerolog v1.21.0
|
|
github.com/tidwall/gjson v1.8.1
|
|
)
|