sqlite3

package
v0.13.6 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKeyDatabase added in v0.12.0

func NewKeyDatabase(conMan *sqlutil.Connections, dbProperties *config.DatabaseOptions) (*shared.KeyDatabase, error)

func NewSQLiteAccountDataTable

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

func NewSQLiteAccountsTable

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

func NewSQLiteDevicesTable

func NewSQLiteDevicesTable(db *sql.DB, serverName spec.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 spec.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 NewSQLiteRegistrationTokensTable added in v0.13.0

func NewSQLiteRegistrationTokensTable(db *sql.DB) (tables.RegistrationTokensTable, error)

func NewSQLiteStatsTable added in v0.8.3

func NewSQLiteStatsTable(db *sql.DB, serverName spec.ServerName) (tables.StatsTable, error)

func NewSQLiteThreePIDTable

func NewSQLiteThreePIDTable(db *sql.DB) (tables.ThreePIDTable, error)

func NewSqliteCrossSigningKeysTable added in v0.12.0

func NewSqliteCrossSigningKeysTable(db *sql.DB) (tables.CrossSigningKeys, error)

func NewSqliteCrossSigningSigsTable added in v0.12.0

func NewSqliteCrossSigningSigsTable(db *sql.DB) (tables.CrossSigningSigs, error)

func NewSqliteDeviceKeysTable added in v0.12.0

func NewSqliteDeviceKeysTable(db *sql.DB) (tables.DeviceKeys, error)

func NewSqliteKeyChangesTable added in v0.12.0

func NewSqliteKeyChangesTable(db *sql.DB) (tables.KeyChanges, error)

func NewSqliteOneTimeKeysTable added in v0.12.0

func NewSqliteOneTimeKeysTable(db *sql.DB) (tables.OneTimeKeys, error)

func NewSqliteStaleDeviceListsTable added in v0.12.0

func NewSqliteStaleDeviceListsTable(db *sql.DB) (tables.StaleDeviceLists, error)

func NewUserDatabase added in v0.12.0

func NewUserDatabase(ctx context.Context, conMan *sqlutil.Connections, dbProperties *config.DatabaseOptions, serverName spec.ServerName, bcryptCost int, openIDTokenLifetimeMS int64, loginTokenLifetime time.Duration, serverNoticesLocalpart string) (*shared.Database, error)

NewUserDatabase creates a new accounts and profiles database

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