Documentation ¶
Index ¶
- type DummyStorage
- func (s *DummyStorage) DeleteAccount(accountId uuid.UUID) error
- func (s *DummyStorage) ListAccounts() ([]core.ValidatorAccount, error)
- func (s *DummyStorage) Name() string
- func (s *DummyStorage) Network() core.Network
- func (s *DummyStorage) OpenAccount(accountId uuid.UUID) (core.ValidatorAccount, error)
- func (s *DummyStorage) OpenWallet() (core.Wallet, error)
- func (s *DummyStorage) SaveAccount(account core.ValidatorAccount) error
- func (s *DummyStorage) SaveWallet(wallet core.Wallet) error
- func (s *DummyStorage) SetEncryptor(encryptor encryptor.Encryptor, password []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DummyStorage ¶
type DummyStorage struct{}
func (*DummyStorage) DeleteAccount ¶
func (s *DummyStorage) DeleteAccount(accountId uuid.UUID) error
func (*DummyStorage) ListAccounts ¶
func (s *DummyStorage) ListAccounts() ([]core.ValidatorAccount, error)
func (*DummyStorage) Name ¶
func (s *DummyStorage) Name() string
func (*DummyStorage) Network ¶
func (s *DummyStorage) Network() core.Network
func (*DummyStorage) OpenAccount ¶
func (s *DummyStorage) OpenAccount(accountId uuid.UUID) (core.ValidatorAccount, error)
func (*DummyStorage) OpenWallet ¶
func (s *DummyStorage) OpenWallet() (core.Wallet, error)
func (*DummyStorage) SaveAccount ¶
func (s *DummyStorage) SaveAccount(account core.ValidatorAccount) error
func (*DummyStorage) SaveWallet ¶
func (s *DummyStorage) SaveWallet(wallet core.Wallet) error
func (*DummyStorage) SetEncryptor ¶
func (s *DummyStorage) SetEncryptor(encryptor encryptor.Encryptor, password []byte)
Click to show internal directories.
Click to hide internal directories.