engine

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	Options Options
}

func (*Engine) GarbageCollect added in v0.18.0

func (e *Engine) GarbageCollect(ctx context.Context, dryRun bool) (database.GCResult, error)

GarbageCollect runs a single garbage collection, outside of the server.

It never migrates the database: the schema belongs to the server, and a dry run must not change anything.

func (*Engine) Start

func (e *Engine) Start() error

Start runs the server until it receives SIGINT or SIGTERM.

type Options

type Options struct {
	Database database.Options
	Server   server.Options
	GC       gc.Options
}

Jump to

Keyboard shortcuts

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