Documentation ¶
Index ¶
- type Storage
- func (s *Storage) DeleteAccount(_ uuid.UUID) error
- func (s *Storage) ListAccounts() ([]core.ValidatorAccount, error)
- func (s *Storage) Name() string
- func (s *Storage) Network() core.Network
- func (s *Storage) OpenAccount(_ uuid.UUID) (core.ValidatorAccount, error)
- func (s *Storage) OpenWallet() (core.Wallet, error)
- func (s *Storage) SaveAccount(_ core.ValidatorAccount) error
- func (s *Storage) SaveWallet(_ core.Wallet) error
- func (s *Storage) SetEncryptor(_ encryptor.Encryptor, _ []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶ added in v1.0.1
type Storage struct{}
Storage is the storage mock
func (*Storage) DeleteAccount ¶ added in v1.0.1
DeleteAccount does nothing
func (*Storage) ListAccounts ¶ added in v1.0.1
func (s *Storage) ListAccounts() ([]core.ValidatorAccount, error)
ListAccounts does nothing
func (*Storage) OpenAccount ¶ added in v1.0.1
OpenAccount does nothing
func (*Storage) OpenWallet ¶ added in v1.0.1
OpenWallet does nothing
func (*Storage) SaveAccount ¶ added in v1.0.1
func (s *Storage) SaveAccount(_ core.ValidatorAccount) error
SaveAccount nothing
func (*Storage) SaveWallet ¶ added in v1.0.1
SaveWallet does nothing
Click to show internal directories.
Click to hide internal directories.