wakusync

package
v0.163.2 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: MPL-2.0, MPL-2.0 Imports: 7 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"`
	SocialLinks        []*identity.SocialLink `json:"socialLinks,omitempty"`
	EnsUsernameDetails []*ens.UsernameDetail  `json:"ensUsernameDetails,omitempty"`
}

type FetchingBackupedDataDetails

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

type WakuBackedUpDataResponse

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

func (*WakuBackedUpDataResponse) AddFetchingBackedUpDataDetails

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

func (*WakuBackedUpDataResponse) FetchingBackedUpDataDetails

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

func (*WakuBackedUpDataResponse) MarshalJSON

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

func (*WakuBackedUpDataResponse) SetDisplayName added in v0.146.3

func (sfwr *WakuBackedUpDataResponse) SetDisplayName(displayName string)

func (*WakuBackedUpDataResponse) SetEnsUsernameDetails added in v0.148.3

func (sfwr *WakuBackedUpDataResponse) SetEnsUsernameDetails(ensUsernameDetails []*ens.UsernameDetail)

func (*WakuBackedUpDataResponse) SetImages added in v0.146.3

func (sfwr *WakuBackedUpDataResponse) SetImages(images []images.IdentityImage)
func (sfwr *WakuBackedUpDataResponse) SetSocialLinks(socialLinks []*identity.SocialLink)

Jump to

Keyboard shortcuts

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