storage

package
v0.0.0-...-a01bbec Latest Latest
Warning

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

Go to latest
Published: May 13, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package storage is a generated protocol buffer package.

It is generated from these files:

storage.proto

It has these top-level messages:

Storage

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage struct {
	Version              *uint32           `protobuf:"varint,1,req,name=version" json:"version,omitempty"`
	Node                 *types.HDNodeType `protobuf:"bytes,2,opt,name=node" json:"node,omitempty"`
	Mnemonic             *string           `protobuf:"bytes,3,opt,name=mnemonic" json:"mnemonic,omitempty"`
	PassphraseProtection *bool             `protobuf:"varint,4,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"`
	PinFailedAttempts    *uint32           `protobuf:"varint,5,opt,name=pin_failed_attempts,json=pinFailedAttempts" json:"pin_failed_attempts,omitempty"`
	Pin                  *string           `protobuf:"bytes,6,opt,name=pin" json:"pin,omitempty"`
	Language             *string           `protobuf:"bytes,7,opt,name=language" json:"language,omitempty"`
	Label                *string           `protobuf:"bytes,8,opt,name=label" json:"label,omitempty"`
	Imported             *bool             `protobuf:"varint,9,opt,name=imported" json:"imported,omitempty"`
	Homescreen           []byte            `protobuf:"bytes,10,opt,name=homescreen" json:"homescreen,omitempty"`
	U2FCounter           *uint32           `protobuf:"varint,11,opt,name=u2f_counter,json=u2fCounter" json:"u2f_counter,omitempty"`
	XXX_unrecognized     []byte            `json:"-"`
}

* Internal persistent storage of device

func (*Storage) Descriptor

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

func (*Storage) GetHomescreen

func (m *Storage) GetHomescreen() []byte

func (*Storage) GetImported

func (m *Storage) GetImported() bool

func (*Storage) GetLabel

func (m *Storage) GetLabel() string

func (*Storage) GetLanguage

func (m *Storage) GetLanguage() string

func (*Storage) GetMnemonic

func (m *Storage) GetMnemonic() string

func (*Storage) GetNode

func (m *Storage) GetNode() *types.HDNodeType

func (*Storage) GetPassphraseProtection

func (m *Storage) GetPassphraseProtection() bool

func (*Storage) GetPin

func (m *Storage) GetPin() string

func (*Storage) GetPinFailedAttempts

func (m *Storage) GetPinFailedAttempts() uint32

func (*Storage) GetU2FCounter

func (m *Storage) GetU2FCounter() uint32

func (*Storage) GetVersion

func (m *Storage) GetVersion() uint32

func (*Storage) ProtoMessage

func (*Storage) ProtoMessage()

func (*Storage) Reset

func (m *Storage) Reset()

func (*Storage) String

func (m *Storage) String() string

Jump to

Keyboard shortcuts

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