Documentation ¶
Index ¶
- func NewDatabase(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(dbProperties *config.DatabaseOptions) (*shared.Database, error)
NewDatabase creates a new sync server database
func NewPostgresCrossSigningKeysTable ¶ added in v0.5.0
func NewPostgresCrossSigningKeysTable(db *sql.DB) (tables.CrossSigningKeys, error)
func NewPostgresCrossSigningSigsTable ¶ added in v0.5.0
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.