backup

package
v4.0.0-...-ae7b6de Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

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

Handler for accepting requests to initiate a new database backup.

Types

type Exporter

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