package
0.99.19
Repository: https://github.com/matrix-org/sliding-sync.git
Documentation: pkg.go.dev

# Functions

Assert that the expression is true, similar to assert() in C.
AssertWithContext is a version of Assert that associates any sentry events with a request context.
add the user ID to this request context.
CalculateAvatar computes the avatar for the room, based on the global room metadata.
CalculateRoomName calculates the room name.
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
GetSentryHubFromContextOrDefault is a version of sentry.GetHubFromContext which automatically falls back to sentry.CurrentHub if the given context has not been attached a hub.
No description provided by the author
No description provided by the author
Keys returns a slice containing copies of the keys of the given map, in no particular order.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Create a new worker pool of size N.
ReportPanicsToSentry checks for panics by calling recover, reports any panic found to sentry, and then reraises the panic.
prepare a request context so it can contain syncv3 info.
No description provided by the author
SetAttributeOnContext sets one of the trace tag keys on the given context, so derived spans will use said tags.
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
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
SentryCtxKey is a namespace under which we can report arbitrary key-value pairs to sentry.
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

DataError indicates that this error is caused by invalid data, so retrying this request will not make any difference.
DeviceData contains useful data for this user's device.
This gets serialised as CBOR in device_data table.
This is calculated from device_lists table.
No description provided by the author
EventMetadata holds timing information about an event, to be used when sorting room lists by recency.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RoomMetadata holds room-scoped data.
combined runtime/trace and OTLP span.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author