Versions in this module Expand all Collapse all v1 v1.6.5 Sep 10, 2020 v1.6.4 Jul 2, 2020 Changes in this version + func New(opts ...Option) (wtypes.Store, error) + type Option interface + func WithPassphrase(passphrase []byte) Option + func WithRole(role string) Option + func WithVaultAddress(vaultAddress string) Option + func WithVaultSubPath(vaultSubPath string) Option + type Store struct + func (s *Store) Authorize() error + func (s *Store) Location() string + func (s *Store) Name() string + func (s *Store) RetrieveAccount(walletID uuid.UUID, accountID uuid.UUID) ([]byte, error) + func (s *Store) RetrieveAccounts(walletID uuid.UUID) <-chan []byte + func (s *Store) RetrieveAccountsIndex(walletID uuid.UUID) ([]byte, error) + func (s *Store) RetrieveWallet(walletName string) ([]byte, error) + func (s *Store) RetrieveWalletByID(walletID uuid.UUID) ([]byte, error) + func (s *Store) RetrieveWallets() <-chan []byte + func (s *Store) StoreAccount(walletID uuid.UUID, accountID uuid.UUID, data []byte) error + func (s *Store) StoreAccountsIndex(walletID uuid.UUID, data []byte) error + func (s *Store) StoreWallet(id uuid.UUID, name string, data []byte) error