internal

package
v0.16.35 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commander

type Commander struct {
	Executor exec.Interface
}

Commander is the root of this helper.

func NewCommander

func NewCommander() Commander

NewCommander is a factory for Commander.

type Database

type Database interface {
	SetCommander(commander Commander)
	Export(*backup.Backup) error
	Import(*backup.Backup) error
}

Database interface for different databases.

type Options

type Options struct {
	Type     string
	Host     string
	Port     string
	Name     string
	Username string
	Password string
	Options  []string
}

Options for different Database.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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