sqlite3

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: 21 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, 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

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

func NewSQLitePusherTable(db *sql.DB) (tables.PusherTable, error)

func NewSQLiteStatsTable

func NewSQLiteStatsTable(db *sql.DB, serverName gomatrixserverlib.ServerName) (tables.StatsTable, 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