Documentation ¶
Index ¶
- func NewPostgresBlacklistTable(db *sql.DB) (s *blacklistStatements, err error)
- func NewPostgresJoinedHostsTable(db *sql.DB) (s *joinedHostsStatements, err error)
- func NewPostgresQueueEDUsTable(db *sql.DB) (s *queueEDUsStatements, err error)
- func NewPostgresQueueJSONTable(db *sql.DB) (s *queueJSONStatements, err error)
- func NewPostgresQueuePDUsTable(db *sql.DB) (s *queuePDUsStatements, err error)
- func NewPostgresRoomsTable(db *sql.DB) (s *roomStatements, err error)
- type Database
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPostgresRoomsTable ¶
Types ¶
type Database ¶
type Database struct { shared.Database sqlutil.PartitionOffsetStatements // contains filtered or unexported fields }
Database stores information needed by the federation sender
func NewDatabase ¶
func NewDatabase(dbProperties *config.DatabaseOptions, cache caching.FederationSenderCache) (*Database, error)
NewDatabase opens a new database
Click to show internal directories.
Click to hide internal directories.