package
0.14.1
Repository: https://github.com/element-hq/dendrite.git
Documentation: pkg.go.dev

# Functions

Deduplicate takes a set of state entries and ensures that there are no duplicate (event type, state key) tuples.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

EmptyStateKeyNID is the numeric ID for the empty state key.
MRoomCreateNID is the numeric ID for the "m.room.create" event type.
MRoomHistoryVisibilityNID is the numeric ID for the "m.room.history_visibility" event type.
MRoomJoinRulesNID is the numeric ID for the "m.room.join_rules" event type.
MRoomMemberNID is the numeric ID for the "m.room.member" event type.
MRoomPowerLevelsNID is the numeric ID for the "m.room.power_levels" event type.
MRoomRedactionNID is the numeric ID for the "m.room.redaction" event type.
MRoomThirdPartyInviteNID is the numeric ID for the "m.room.third_party_invite" event type.

# Variables

No description provided by the author

# Structs

Struct to represent a device or a server name.
An Event is a gomatrixserverlib.Event with the numeric event ID attached.
No description provided by the author
HeaderedEvent is an Event which serialises to the headered form, which includes _room_version and _event_id fields.
RoomInfo contains metadata about a room.
StateAtEvent is the state before and after a matrix event.
StateAtEventAndReference is StateAtEvent and gomatrixserverlib.EventReference glued together.
StateBlockNIDList is used to return the result of bulk StateBlockNID lookups from the database.
A StateEntry is an entry in the room state of a matrix room.
StateEntryList is used to return the result of bulk state entry lookups from the database.
A StateKeyTuple is a pair of a numeric event type and a numeric state key.
No description provided by the author

# Type aliases

EventNID is a numeric ID for an event.
EventNIDs is used to sort and dedupe event NIDs.
EventStateKeyNID is a numeric ID for an event state_key.
EventTypeNID is a numeric ID for an event type.
A MissingEventError is an error that happened because the roomserver was missing requested events from its database.
A MissingStateError is an error that happened because the roomserver was missing requested state snapshots from its databases.
A RejectedError is returned when an event is stored as rejected.
RoomNID is a numeric ID for a room.
No description provided by the author
StateBlockNID is a numeric ID for a block of state data.
StateBlockNIDs is used to sort and dedupe state block NIDs.
No description provided by the author
No description provided by the author
StateSnapshotNID is a numeric ID for the state at an event.