postgres

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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