Documentation ¶
Index ¶
- func NewDatabase(dbProperties *config.DatabaseOptions, serverName gomatrixserverlib.ServerName, ...) (*shared.Database, error)
- func NewSQLiteAccountDataTable(db *sql.DB) (tables.AccountDataTable, error)
- func NewSQLiteAccountsTable(db *sql.DB, serverName gomatrixserverlib.ServerName) (tables.AccountsTable, error)
- func NewSQLiteDevicesTable(db *sql.DB, serverName gomatrixserverlib.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 NewSQLiteOpenIDTable(db *sql.DB, serverName gomatrixserverlib.ServerName) (tables.OpenIDTable, error)
- func NewSQLiteProfilesTable(db *sql.DB) (tables.ProfileTable, error)
- func NewSQLiteThreePIDTable(db *sql.DB) (tables.ThreePIDTable, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDatabase ¶
func NewDatabase(dbProperties *config.DatabaseOptions, serverName gomatrixserverlib.ServerName, bcryptCost int, openIDTokenLifetimeMS int64, loginTokenLifetime time.Duration) (*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 NewSQLiteOpenIDTable ¶
func NewSQLiteOpenIDTable(db *sql.DB, serverName gomatrixserverlib.ServerName) (tables.OpenIDTable, error)
func NewSQLiteProfilesTable ¶
func NewSQLiteProfilesTable(db *sql.DB) (tables.ProfileTable, error)
func NewSQLiteThreePIDTable ¶
func NewSQLiteThreePIDTable(db *sql.DB) (tables.ThreePIDTable, error)
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.