backup

package
v0.0.0-...-8ca3ac7 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_backup_data_proto protoreflect.FileDescriptor

Functions

func CreateBackup

func CreateBackup() ([]byte, error)

func RestoreBackup

func RestoreBackup(body []byte) error

Types

type Backup

type Backup struct {
	Data map[string][]byte `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Backup) Descriptor deprecated

func (*Backup) Descriptor() ([]byte, []int)

Deprecated: Use Backup.ProtoReflect.Descriptor instead.

func (*Backup) GetData

func (x *Backup) GetData() map[string][]byte

func (*Backup) ProtoMessage

func (*Backup) ProtoMessage()

func (*Backup) ProtoReflect

func (x *Backup) ProtoReflect() protoreflect.Message

func (*Backup) Reset

func (x *Backup) Reset()

func (*Backup) String

func (x *Backup) String() string

Jump to

Keyboard shortcuts

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