backup

package
v0.0.0-...-3e0e934 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2026 License: Apache-2.0, BSD-2-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupFilePair

type BackupFilePair struct {
	Locker    func(func())
	Source    string
	TargetDir string
}

type Config

type Config struct {
	BackupPeriod string `toml:"backup_period"`
	RootPath     string `toml:"root_path"`
}

type Local

type Local struct {
	BackupPeriod time.Duration
	// contains filtered or unexported fields
}

func (*Local) Backup

func (l *Local) Backup()

func (*Local) Run

func (l *Local) Run(ctx context.Context)

Jump to

Keyboard shortcuts

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