Documentation ¶
Index ¶
- func NewKeyDatabase(conMan *sqlutil.Connections, dbProperties *config.DatabaseOptions) (*shared.KeyDatabase, error)
- func NewSQLiteAccountDataTable(db *sql.DB) (tables.AccountDataTable, error)
- func NewSQLiteAccountsTable(db *sql.DB, serverName spec.ServerName) (tables.AccountsTable, error)
- func NewSQLiteDevicesTable(db *sql.DB, serverName spec.ServerName) (tables.DevicesTable, error)
- func NewSQLiteKeyBackupTable(db *sql.DB) (tables.KeyBackupTable, error)
- func NewSQLiteKeyBackupVersionTable(db *sql.DB) (tables.KeyBackupVersionTable, error)
- func NewSQLiteLoginTokenTable(db *sql.DB) (tables.LoginTokenTable, error)
- func NewSQLiteNotificationTable(db *sql.DB) (tables.NotificationTable, error)
- func NewSQLiteOpenIDTable(db *sql.DB, serverName spec.ServerName) (tables.OpenIDTable, error)
- func NewSQLiteProfilesTable(db *sql.DB, serverNoticesLocalpart string) (tables.ProfileTable, error)
- func NewSQLitePusherTable(db *sql.DB) (tables.PusherTable, error)
- func NewSQLiteRegistrationTokensTable(db *sql.DB) (tables.RegistrationTokensTable, error)
- func NewSQLiteStatsTable(db *sql.DB, serverName spec.ServerName) (tables.StatsTable, error)
- func NewSQLiteThreePIDTable(db *sql.DB) (tables.ThreePIDTable, error)
- func NewSqliteCrossSigningKeysTable(db *sql.DB) (tables.CrossSigningKeys, error)
- func NewSqliteCrossSigningSigsTable(db *sql.DB) (tables.CrossSigningSigs, error)
- func NewSqliteDeviceKeysTable(db *sql.DB) (tables.DeviceKeys, error)
- func NewSqliteFallbackKeysTable(db *sql.DB) (tables.FallbackKeys, error)
- func NewSqliteKeyChangesTable(db *sql.DB) (tables.KeyChanges, error)
- func NewSqliteOneTimeKeysTable(db *sql.DB) (tables.OneTimeKeys, error)
- func NewSqliteStaleDeviceListsTable(db *sql.DB) (tables.StaleDeviceLists, error)
- func NewUserDatabase(ctx context.Context, conMan *sqlutil.Connections, ...) (*shared.Database, error)
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 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.
Source Files ¶
- account_data_table.go
- accounts_table.go
- cross_signing_keys_table.go
- cross_signing_sigs_table.go
- device_keys_table.go
- devices_table.go
- fallback_keys_table.go
- key_backup_table.go
- key_backup_version_table.go
- key_changes_table.go
- logintoken_table.go
- notifications_table.go
- one_time_keys_table.go
- openid_table.go
- profile_table.go
- pusher_table.go
- registration_tokens_table.go
- stale_device_lists.go
- stats_table.go
- storage.go
- threepid_table.go
Click to show internal directories.
Click to hide internal directories.