backup

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 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
}

Backup is the backup itself including configuration and data

func (*Backup) KeysToJSON

func (b *Backup) KeysToJSON(c *consul.Consul)

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

Jump to

Keyboard shortcuts

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