sqlite3

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: 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, serverNoticesLocalpart string) (*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 NewSQLiteNotificationTable added in v0.6.5

func NewSQLiteNotificationTable(db *sql.DB) (tables.NotificationTable, error)

func NewSQLiteOpenIDTable

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

func NewSQLiteProfilesTable

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

func NewSQLitePusherTable added in v0.6.5

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