Help us shape the future of Go! Take the 2026 Go Developer Survey

backup

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2016 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backup

type Backup struct {
	StartTime      int64
	JSONData       []byte
	LocalFileName  string
	LocalFilePath  string
	RemoteFilePath string
	Config         config.Config
	Client         *consul.Consul
}

Backup is the backup itself including configuration and data

func (*Backup) KeysToJSON

func (b *Backup) KeysToJSON()

KeysToJSON used to marshall the data and put it on a Backup object

func (*Backup) Runner added in v0.1.1

func (b *Backup) Runner(t string) int

Runner is the main runner for a backup

Jump to

Keyboard shortcuts

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