backup

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalBackup

func MarshalBackup(path string, b *Backup) error

Creates a backup file in the given path

Types

type Backup

type Backup struct {
	PrivateKey string `json:"privateKey"`
}

func UnmarshalBackup

func UnmarshalBackup(path string) (*Backup, error)

Reads a file in the given path and returns a Backup object

Jump to

Keyboard shortcuts

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