backup

package
v4.2.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: GPL-3.0 Imports: 4 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler added in v4.2.0

func Handler(bk Exporter, outputDir string) func(http.ResponseWriter, *http.Request)

Handler for accepting requests to initiate a new database backup.

Types

type Exporter added in v4.2.0

type Exporter interface {
	Backup(ctx context.Context, outputPath string, permissionOverride bool) error
}

Exporter defines a backup exporter methods.

Jump to

Keyboard shortcuts

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