backup

package
Version: v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2016 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Runner

func Runner(t string) int

Runner is the main runner for a backup

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

Source Files

Jump to

Keyboard shortcuts

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