storage

package
v0.0.0-...-7d2f2d7 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: Apache-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 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"`
	NeedsBackup          *bool             `protobuf:"varint,12,opt,name=needs_backup,json=needsBackup" json:"needs_backup,omitempty"`
	Flags                *uint32           `protobuf:"varint,13,opt,name=flags" json:"flags,omitempty"`
	U2Froot              *types.HDNodeType `protobuf:"bytes,14,opt,name=u2froot" json:"u2froot,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

* Internal persistent storage of device

func (*Storage) Descriptor

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

func (*Storage) GetFlags

func (m *Storage) GetFlags() uint32

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) GetNeedsBackup

func (m *Storage) GetNeedsBackup() bool

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) GetU2Froot

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

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

func (*Storage) XXX_DiscardUnknown

func (m *Storage) XXX_DiscardUnknown()

func (*Storage) XXX_Marshal

func (m *Storage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Storage) XXX_Merge

func (dst *Storage) XXX_Merge(src proto.Message)

func (*Storage) XXX_Size

func (m *Storage) XXX_Size() int

func (*Storage) XXX_Unmarshal

func (m *Storage) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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