Documentation ¶
Index ¶
- func NewSQLiteBlacklistTable(db *sql.DB) (s *blacklistStatements, err error)
- func NewSQLiteInboundPeeksTable(db *sql.DB) (s *inboundPeeksStatements, err error)
- func NewSQLiteJoinedHostsTable(db *sql.DB) (s *joinedHostsStatements, err error)
- func NewSQLiteNotaryServerKeysMetadataTable(db *sql.DB) (s *notaryServerKeysMetadataStatements, err error)
- func NewSQLiteNotaryServerKeysTable(db *sql.DB) (s *notaryServerKeysStatements, err error)
- func NewSQLiteOutboundPeeksTable(db *sql.DB) (s *outboundPeeksStatements, err error)
- func NewSQLiteQueueEDUsTable(db *sql.DB) (s *queueEDUsStatements, err error)
- func NewSQLiteQueueJSONTable(db *sql.DB) (s *queueJSONStatements, err error)
- func NewSQLiteQueuePDUsTable(db *sql.DB) (s *queuePDUsStatements, err error)
- func NewSQLiteServerSigningKeysTable(db *sql.DB) (s *serverSigningKeyStatements, err error)
- type Database
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSQLiteBlacklistTable ¶
func NewSQLiteQueueEDUsTable ¶
func NewSQLiteQueueJSONTable ¶
func NewSQLiteQueuePDUsTable ¶
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.FederationCache, serverName gomatrixserverlib.ServerName) (*Database, error)
NewDatabase opens a new database
Source Files ¶
Click to show internal directories.
Click to hide internal directories.