federatingdb

package
v0.14.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

DB wraps the pub.Database interface with a couple of custom functions for GoToSocial.

func New

func New(
	state *state.State,
	converter *typeutils.Converter,
	visFilter *visibility.Filter,
	spamFilter *spam.Filter,
) DB

New returns a DB that satisfies the pub.Database interface, using the given state and filters.

Jump to

Keyboard shortcuts

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