Documentation ¶
Index ¶
- func NewDatabase(base *base.BaseDendrite, dbProperties *config.DatabaseOptions) (*shared.Database, error)
- func NewPostgresCrossSigningKeysTable(db *sql.DB) (tables.CrossSigningKeys, error)
- func NewPostgresCrossSigningSigsTable(db *sql.DB) (tables.CrossSigningSigs, error)
- func NewPostgresDeviceKeysTable(db *sql.DB) (tables.DeviceKeys, error)
- func NewPostgresKeyChangesTable(db *sql.DB) (tables.KeyChanges, error)
- func NewPostgresOneTimeKeysTable(db *sql.DB) (tables.OneTimeKeys, error)
- func NewPostgresStaleDeviceListsTable(db *sql.DB) (tables.StaleDeviceLists, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDatabase ¶
func NewDatabase(base *base.BaseDendrite, dbProperties *config.DatabaseOptions) (*shared.Database, error)
NewDatabase creates a new sync server database
func NewPostgresCrossSigningKeysTable ¶
func NewPostgresCrossSigningKeysTable(db *sql.DB) (tables.CrossSigningKeys, error)
func NewPostgresCrossSigningSigsTable ¶
func NewPostgresCrossSigningSigsTable(db *sql.DB) (tables.CrossSigningSigs, error)
func NewPostgresDeviceKeysTable ¶
func NewPostgresDeviceKeysTable(db *sql.DB) (tables.DeviceKeys, error)
func NewPostgresKeyChangesTable ¶
func NewPostgresKeyChangesTable(db *sql.DB) (tables.KeyChanges, error)
func NewPostgresOneTimeKeysTable ¶
func NewPostgresOneTimeKeysTable(db *sql.DB) (tables.OneTimeKeys, error)
func NewPostgresStaleDeviceListsTable ¶
func NewPostgresStaleDeviceListsTable(db *sql.DB) (tables.StaleDeviceLists, error)
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.