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 ¶
- type Storage
- func (*Storage) Descriptor() ([]byte, []int)
- func (m *Storage) GetHomescreen() []byte
- func (m *Storage) GetImported() bool
- func (m *Storage) GetLabel() string
- func (m *Storage) GetLanguage() string
- func (m *Storage) GetMnemonic() string
- func (m *Storage) GetNode() *types.HDNodeType
- func (m *Storage) GetPassphraseProtection() bool
- func (m *Storage) GetPin() string
- func (m *Storage) GetPinFailedAttempts() uint32
- func (m *Storage) GetU2FCounter() uint32
- func (m *Storage) GetVersion() uint32
- func (*Storage) ProtoMessage()
- func (m *Storage) Reset()
- func (m *Storage) String() string
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) GetHomescreen ¶
func (*Storage) GetImported ¶
func (*Storage) GetLanguage ¶
func (*Storage) GetMnemonic ¶
func (*Storage) GetNode ¶
func (m *Storage) GetNode() *types.HDNodeType
func (*Storage) GetPassphraseProtection ¶
func (*Storage) GetPinFailedAttempts ¶
func (*Storage) GetU2FCounter ¶
func (*Storage) GetVersion ¶
func (*Storage) ProtoMessage ¶
func (*Storage) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.