Documentation ¶
Index ¶
- func NewPostgresAssumedOfflineTable(db *sql.DB) (s *assumedOfflineStatements, err error)
- func NewPostgresBlacklistTable(db *sql.DB) (s *blacklistStatements, err error)
- func NewPostgresInboundPeeksTable(db *sql.DB) (s *inboundPeeksStatements, err error)
- func NewPostgresJoinedHostsTable(db *sql.DB) (s *joinedHostsStatements, err error)
- func NewPostgresNotaryServerKeysMetadataTable(db *sql.DB) (s *notaryServerKeysMetadataStatements, err error)
- func NewPostgresNotaryServerKeysTable(db *sql.DB) (s *notaryServerKeysStatements, err error)
- func NewPostgresOutboundPeeksTable(db *sql.DB) (s *outboundPeeksStatements, 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 NewPostgresRelayServersTable(db *sql.DB) (s *relayServersStatements, err error)
- func NewPostgresServerSigningKeysTable(db *sql.DB) (s *serverSigningKeyStatements, err error)
- type Database
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPostgresAssumedOfflineTable ¶ added in v0.11.1
func NewPostgresRelayServersTable ¶ added in v0.11.1
Types ¶
type Database ¶
Database stores information needed by the federation sender
func NewDatabase ¶
func NewDatabase(ctx context.Context, conMan *sqlutil.Connections, dbProperties *config.DatabaseOptions, cache caching.FederationCache, isLocalServerName func(spec.ServerName) bool) (*Database, error)
NewDatabase opens a new database
Source Files ¶
Click to show internal directories.
Click to hide internal directories.