wakusync

package
v0.130.3 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2023 License: MPL-2.0, MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackedUpProfile

type BackedUpProfile struct {
	DisplayName string                 `json:"displayName,omitempty"`
	Images      []images.IdentityImage `json:"images,omitempty"`
}

type FetchingBackupedDataDetails

type FetchingBackupedDataDetails struct {
	DataNumber  uint32 `json:"dataNumber,omitempty"`
	TotalNumber uint32 `json:"totalNumber,omitempty"`
}

type WakuBackedUpDataResponse

type WakuBackedUpDataResponse struct {
	FetchingDataProgress map[string]protobuf.FetchingBackedUpDataDetails // key represents the data/section backup details refer to
	Profile              *BackedUpProfile
	Setting              *settings.SyncSettingField
}

func (*WakuBackedUpDataResponse) AddDisplayName

func (sfwr *WakuBackedUpDataResponse) AddDisplayName(displayName string)

func (*WakuBackedUpDataResponse) AddFetchingBackedUpDataDetails

func (sfwr *WakuBackedUpDataResponse) AddFetchingBackedUpDataDetails(section string, details *protobuf.FetchingBackedUpDataDetails)

func (*WakuBackedUpDataResponse) AddImages

func (sfwr *WakuBackedUpDataResponse) AddImages(images []images.IdentityImage)

func (*WakuBackedUpDataResponse) FetchingBackedUpDataDetails

func (sfwr *WakuBackedUpDataResponse) FetchingBackedUpDataDetails() map[string]FetchingBackupedDataDetails

func (*WakuBackedUpDataResponse) MarshalJSON

func (sfwr *WakuBackedUpDataResponse) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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