Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.