sqlite3

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSQLiteRelayQueueJSONTable

func NewSQLiteRelayQueueJSONTable(db *sql.DB) (s *relayQueueJSONStatements, err error)

func NewSQLiteRelayQueueTable

func NewSQLiteRelayQueueTable(
	db *sql.DB,
) (s *relayQueueStatements, 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(
	conMan *sqlutil.Connections,
	dbProperties *config.DatabaseOptions,
	cache caching.FederationCache,
	isLocalServerName func(spec.ServerName) bool,
) (*Database, error)

NewDatabase opens a new database

Jump to

Keyboard shortcuts

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