Documentation ¶
Index ¶
- func NewPostgresAccountDataTable(db *sql.DB) (tables.AccountData, error)
- func NewPostgresBackwardsExtremitiesTable(db *sql.DB) (tables.BackwardsExtremities, error)
- func NewPostgresCurrentRoomStateTable(db *sql.DB) (tables.CurrentRoomState, error)
- func NewPostgresEventsTable(db *sql.DB) (tables.Events, error)
- func NewPostgresFilterTable(db *sql.DB) (tables.Filter, error)
- func NewPostgresIgnoresTable(db *sql.DB) (tables.Ignores, error)
- func NewPostgresInvitesTable(db *sql.DB) (tables.Invites, error)
- func NewPostgresMembershipsTable(db *sql.DB) (tables.Memberships, error)
- func NewPostgresNotificationDataTable(db *sql.DB) (tables.NotificationData, error)
- func NewPostgresPeeksTable(db *sql.DB) (tables.Peeks, error)
- func NewPostgresPresenceTable(db *sql.DB) (*presenceStatements, error)
- func NewPostgresReceiptsTable(db *sql.DB) (tables.Receipts, error)
- func NewPostgresSendToDeviceTable(db *sql.DB) (tables.SendToDevice, error)
- func NewPostgresTopologyTable(db *sql.DB) (tables.Topology, error)
- type SyncServerDatasource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPostgresAccountDataTable ¶
func NewPostgresAccountDataTable(db *sql.DB) (tables.AccountData, error)
func NewPostgresBackwardsExtremitiesTable ¶
func NewPostgresBackwardsExtremitiesTable(db *sql.DB) (tables.BackwardsExtremities, error)
func NewPostgresCurrentRoomStateTable ¶
func NewPostgresCurrentRoomStateTable(db *sql.DB) (tables.CurrentRoomState, error)
func NewPostgresIgnoresTable ¶ added in v0.8.0
func NewPostgresMembershipsTable ¶ added in v0.3.7
func NewPostgresMembershipsTable(db *sql.DB) (tables.Memberships, error)
func NewPostgresNotificationDataTable ¶ added in v0.6.5
func NewPostgresNotificationDataTable(db *sql.DB) (tables.NotificationData, error)
func NewPostgresPresenceTable ¶ added in v0.8.0
func NewPostgresReceiptsTable ¶ added in v0.3.0
func NewPostgresSendToDeviceTable ¶
func NewPostgresSendToDeviceTable(db *sql.DB) (tables.SendToDevice, error)
Types ¶
type SyncServerDatasource ¶
SyncServerDatasource represents a sync server datasource which manages both the database for PDUs and caches for EDUs.
func NewDatabase ¶
func NewDatabase(base *base.BaseDendrite, dbProperties *config.DatabaseOptions) (*SyncServerDatasource, error)
NewDatabase creates a new sync server database
Source Files ¶
- account_data_table.go
- backwards_extremities_table.go
- current_room_state_table.go
- filter_table.go
- filtering.go
- ignores_table.go
- invites_table.go
- memberships_table.go
- notification_data_table.go
- output_room_events_table.go
- output_room_events_topology_table.go
- peeks_table.go
- presence_table.go
- receipt_table.go
- send_to_device_table.go
- syncserver.go
Click to show internal directories.
Click to hide internal directories.