wakusync

package
v0.179.17 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 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"`
	// Deprecated: use social links from ProfileShowcasePreferences
	SocialLinks                []*identity.SocialLink              `json:"socialLinks,omitempty"`
	EnsUsernameDetails         []*ens.UsernameDetail               `json:"ensUsernameDetails,omitempty"`
	ProfileShowcasePreferences identity.ProfileShowcasePreferences `json:"profile_showcase_preferences,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 (*WakuBackedUpDataResponse) SetProfileShowcasePreferences added in v0.176.1

func (sfwr *WakuBackedUpDataResponse) SetProfileShowcasePreferences(profileShowcasePreferences *identity.ProfileShowcasePreferences)
func (sfwr *WakuBackedUpDataResponse) SetSocialLinks(socialLinks []*identity.SocialLink)

Deprecated: use social links from ProfileShowcasePreferences

Jump to

Keyboard shortcuts

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