postgres

package
v0.8.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPostgresAccountDataTable

func NewPostgresAccountDataTable(_ context.Context, cm sqlutil.ConnectionManager) (tables.AccountData, error)

NewPostgresAccountDataTable creates a new postgres account data table

func NewPostgresBackwardsExtremitiesTable

func NewPostgresBackwardsExtremitiesTable(ctx context.Context, cm sqlutil.ConnectionManager) (tables.BackwardsExtremities, error)

NewPostgresBackwardsExtremitiesTable creates a new backward extremities table

func NewPostgresCurrentRoomStateTable

func NewPostgresCurrentRoomStateTable(_ context.Context, cm sqlutil.ConnectionManager) (tables.CurrentRoomState, error)

NewPostgresCurrentRoomStateTable creates a new CurrentRoomState table

func NewPostgresEventsTable

func NewPostgresEventsTable(_ context.Context, cm sqlutil.ConnectionManager) (tables.Events, error)

NewPostgresEventsTable creates a new events table

func NewPostgresFilterTable

func NewPostgresFilterTable(_ context.Context, cm sqlutil.ConnectionManager) (tables.Filter, error)

NewPostgresFilterTable creates a new filter table

func NewPostgresIgnoresTable

func NewPostgresIgnoresTable(_ context.Context, cm sqlutil.ConnectionManager) (tables.Ignores, error)

NewPostgresIgnoresTable creates a new ignores table

func NewPostgresInvitesTable

func NewPostgresInvitesTable(_ context.Context, cm sqlutil.ConnectionManager) (tables.Invites, error)

NewPostgresInvitesTable creates a new invites table

func NewPostgresMembershipsTable

func NewPostgresMembershipsTable(_ context.Context, cm sqlutil.ConnectionManager) (tables.Memberships, error)

NewPostgresMembershipsTable creates a new memberships table

func NewPostgresNotificationDataTable

func NewPostgresNotificationDataTable(_ context.Context, cm sqlutil.ConnectionManager) (tables.NotificationData, error)

NewPostgresNotificationDataTable creates a new notification data table

func NewPostgresPeeksTable

func NewPostgresPeeksTable(_ context.Context, cm sqlutil.ConnectionManager) (tables.Peeks, error)

NewPostgresPeeksTable creates a new peeks table

func NewPostgresPresenceTable

func NewPostgresPresenceTable(_ context.Context, cm sqlutil.ConnectionManager) (tables.Presence, error)

NewPostgresPresenceTable creates a new presence table

func NewPostgresReceiptsTable

func NewPostgresReceiptsTable(_ context.Context, cm sqlutil.ConnectionManager) (tables.Receipts, error)

NewPostgresReceiptsTable creates a new receipts table

func NewPostgresRelationsTable

func NewPostgresRelationsTable(_ context.Context, cm sqlutil.ConnectionManager) (tables.Relations, error)

NewPostgresRelationsTable creates a new relations table

func NewPostgresSendToDeviceTable

func NewPostgresSendToDeviceTable(_ context.Context, cm sqlutil.ConnectionManager) (tables.SendToDevice, error)

NewPostgresSendToDeviceTable creates a new send-to-device table

func NewPostgresTopologyTable

func NewPostgresTopologyTable(ctx context.Context, cm sqlutil.ConnectionManager) (tables.Topology, error)

NewPostgresTopologyTable creates a new topology table

Types

type SyncServerDatasource

type SyncServerDatasource struct {
	shared.Database
}

SyncServerDatasource represents a sync server datasource which manages both the database for PDUs and caches for EDUs.

func NewDatabase

NewDatabase creates a new sync server database

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL