sqlite3

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: AGPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKeyDatabase

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

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

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

func NewSQLiteRegistrationTokensTable

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

func NewSQLiteStatsTable

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

func NewSQLiteThreePIDTable

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

func NewSqliteCrossSigningKeysTable

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

func NewSqliteCrossSigningSigsTable

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

func NewSqliteDeviceKeysTable

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

func NewSqliteFallbackKeysTable

func NewSqliteFallbackKeysTable(db *sql.DB) (tables.FallbackKeys, error)

func NewSqliteKeyChangesTable

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

func NewSqliteOneTimeKeysTable

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

func NewSqliteStaleDeviceListsTable

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

func NewUserDatabase

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