backup

package
v4.0.0-...-b8b0360 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackupHandler

func BackupHandler(bk BackupExporter, outputDir string) func(http.ResponseWriter, *http.Request)

BackupHandler for accepting requests to initiate a new database backup.

Types

type BackupExporter

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

BackupExporter defines a backup exporter methods.

Jump to

Keyboard shortcuts

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