sqlite3

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDatabase

func NewDatabase(dbProperties *config.DatabaseOptions, serverName gomatrixserverlib.ServerName, bcryptCost int, openIDTokenLifetimeMS int64, loginTokenLifetime time.Duration) (*shared.Database, error)

NewDatabase creates a new accounts and profiles database

func NewSQLiteAccountDataTable

func NewSQLiteAccountDataTable(db *sql.DB) (tables.AccountDataTable, error)

func NewSQLiteAccountsTable

func NewSQLiteAccountsTable(db *sql.DB, serverName gomatrixserverlib.ServerName) (tables.AccountsTable, error)

func NewSQLiteDevicesTable

func NewSQLiteDevicesTable(db *sql.DB, serverName gomatrixserverlib.ServerName) (tables.DevicesTable, error)

func NewSQLiteKeyBackupTable

func NewSQLiteKeyBackupTable(db *sql.DB) (tables.KeyBackupTable, error)

func NewSQLiteKeyBackupVersionTable

func NewSQLiteKeyBackupVersionTable(db *sql.DB) (tables.KeyBackupVersionTable, error)

func NewSQLiteLoginTokenTable

func NewSQLiteLoginTokenTable(db *sql.DB) (tables.LoginTokenTable, error)

func NewSQLiteOpenIDTable

func NewSQLiteOpenIDTable(db *sql.DB, serverName gomatrixserverlib.ServerName) (tables.OpenIDTable, error)

func NewSQLiteProfilesTable

func NewSQLiteProfilesTable(db *sql.DB) (tables.ProfileTable, error)

func NewSQLiteThreePIDTable

func NewSQLiteThreePIDTable(db *sql.DB) (tables.ThreePIDTable, 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