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 NewSQLiteNotificationTable(db *sql.DB) (tables.NotificationTable, error)
- func NewSQLiteOpenIDTable(db *sql.DB, serverName gomatrixserverlib.ServerName) (tables.OpenIDTable, error)
- func NewSQLiteProfilesTable(db *sql.DB, serverNoticesLocalpart string) (tables.ProfileTable, error)
- func NewSQLitePusherTable(db *sql.DB) (tables.PusherTable, 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, serverNoticesLocalpart string) (*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 NewSQLiteNotificationTable ¶ added in v0.6.5
func NewSQLiteNotificationTable(db *sql.DB) (tables.NotificationTable, error)
func NewSQLiteOpenIDTable ¶
func NewSQLiteOpenIDTable(db *sql.DB, serverName gomatrixserverlib.ServerName) (tables.OpenIDTable, error)
func NewSQLiteProfilesTable ¶
func NewSQLitePusherTable ¶ added in v0.6.5
func NewSQLitePusherTable(db *sql.DB) (tables.PusherTable, 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.