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 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 ¶ 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 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.
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
- 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.