postgres

package
v0.0.0-...-811715e Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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