Documentation
¶
Index ¶
- Constants
- type SynapseDB
- func (s *SynapseDB) CheckVersion(ctx context.Context) error
- func (s *SynapseDB) Close() error
- func (s *SynapseDB) GetAllRooms(ctx context.Context) dbutil.RowIter[id.RoomID]
- func (s *SynapseDB) GetEvent(ctx context.Context, eventID id.EventID) (*event.Event, error)
- func (s *SynapseDB) GetEventsToRedact(ctx context.Context, sender id.UserID, inRooms []id.RoomID) (map[id.RoomID][]id.EventID, time.Time, error)
Constants ¶
View Source
const MaxPreferredVersion = 92
View Source
const MinPreferredVersion = 88
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.