postgres

package
v1.1.64 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2026 License: AGPL-3.0 Imports: 16 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPostgresAssumedOfflineTable

func NewPostgresAssumedOfflineTable(db *sql.DB) (s *assumedOfflineStatements, err error)

func NewPostgresBlacklistTable

func NewPostgresBlacklistTable(db *sql.DB) (s *blacklistStatements, err error)

func NewPostgresInboundPeeksTable

func NewPostgresInboundPeeksTable(db *sql.DB) (s *inboundPeeksStatements, err error)

func NewPostgresJoinedHostsTable

func NewPostgresJoinedHostsTable(db *sql.DB) (s *joinedHostsStatements, err error)

func NewPostgresNotaryServerKeysMetadataTable

func NewPostgresNotaryServerKeysMetadataTable(db *sql.DB) (s *notaryServerKeysMetadataStatements, err error)

func NewPostgresNotaryServerKeysTable

func NewPostgresNotaryServerKeysTable(db *sql.DB) (s *notaryServerKeysStatements, err error)

func NewPostgresOutboundPeeksTable

func NewPostgresOutboundPeeksTable(db *sql.DB) (s *outboundPeeksStatements, err error)

func NewPostgresQueueEDUsTable

func NewPostgresQueueEDUsTable(db *sql.DB) (s *queueEDUsStatements, err error)

func NewPostgresQueueJSONTable

func NewPostgresQueueJSONTable(db *sql.DB) (s *queueJSONStatements, err error)

func NewPostgresQueuePDUsTable

func NewPostgresQueuePDUsTable(db *sql.DB) (s *queuePDUsStatements, err error)

func NewPostgresRelayServersTable

func NewPostgresRelayServersTable(db *sql.DB) (s *relayServersStatements, err error)

func NewPostgresServerSigningKeysTable

func NewPostgresServerSigningKeysTable(db *sql.DB) (s *serverSigningKeyStatements, err error)

Types

type Database

type Database struct {
	shared.Database
	// contains filtered or unexported fields
}

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL