sqlite3

package
v0.13.7 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 16 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSQLiteAssumedOfflineTable added in v0.11.1

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

func NewSQLiteBlacklistTable

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

func NewSQLiteInboundPeeksTable

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

func NewSQLiteJoinedHostsTable

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

func NewSQLiteNotaryServerKeysMetadataTable

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

func NewSQLiteNotaryServerKeysTable

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

func NewSQLiteOutboundPeeksTable

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

func NewSQLiteQueueEDUsTable

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

func NewSQLiteQueueJSONTable

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

func NewSQLiteQueuePDUsTable

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

func NewSQLiteRelayServersTable added in v0.11.1

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

func NewSQLiteServerSigningKeysTable

func NewSQLiteServerSigningKeysTable(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