# Functions
NewInviteResponse creates an empty response with initialised arrays.
NewJoinResponse creates an empty response with initialised arrays.
NewLeaveResponse creates an empty response with initialised arrays.
NewResponse creates an empty response with initialised maps.
No description provided by the author
No description provided by the author
No description provided by the author
PresenceFromString returns the integer representation of the given input presence.
# Constants
offline.
online.
unavailable.
No description provided by the author
SyncTokenTypeStream represents a position in the server's whole stream of events.
SyncTokenTypeTopology represents a position in a room's topology.
# Variables
This error is returned when parsing sync tokens if the token is invalid.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
InviteResponse represents a /sync response for a room which is under the 'invite' key.
JoinResponse represents a /sync response for a room which is under the 'join' or 'peek' key.
LeaveResponse represents a /sync response for a room which is under the 'leave' key.
OutputReceiptEvent is an entry in the receipt output kafka log.
OutputSendToDeviceEvent is an entry in the send-to-device output kafka log.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Range represents a range between two stream positions.
No description provided by the author
No description provided by the author
Response represents a /sync API response.
No description provided by the author
No description provided by the author
No description provided by the author
StreamEvent is the same as gomatrixserverlib.Event but also has the PDU stream position for this event.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
StreamPosition represents the offset in the sync stream a client is at.
SyncTokenType represents the type of a sync token.