Documentation ¶
Index ¶
- type Database
- func (d *Database) GetRoomUpdater(ctx context.Context, roomInfo *types.RoomInfo) (*shared.RoomUpdater, error)
- func (d *Database) MembershipUpdater(ctx context.Context, roomID, targetUserID string, targetLocal bool, ...) (*shared.MembershipUpdater, error)
- func (d *Database) SupportsConcurrentRoomInputs() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
A Database is used to store room events and stream offsets.
func Open ¶
func Open(dbProperties *config.DatabaseOptions, cache caching.RoomServerCaches) (*Database, error)
Open a sqlite database.
func (*Database) GetRoomUpdater ¶ added in v0.6.1
func (*Database) MembershipUpdater ¶
func (d *Database) MembershipUpdater( ctx context.Context, roomID, targetUserID string, targetLocal bool, roomVersion gomatrixserverlib.RoomVersion, ) (*shared.MembershipUpdater, error)
func (*Database) SupportsConcurrentRoomInputs ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.