Documentation ¶
Index ¶
- Variables
- type Store
- func (s *Store) DeleteWallet(ctx context.Context, name string) error
- func (s *Store) GetWallet(ctx context.Context, name, passphrase string) (wallet.Wallet, error)
- func (s *Store) GetWalletPath(name string) string
- func (s *Store) ListWallets(ctx context.Context) ([]string, error)
- func (s *Store) RenameWallet(ctx context.Context, currentName, newName string) error
- func (s *Store) SaveWallet(ctx context.Context, w wallet.Wallet, passphrase string) error
- func (s *Store) WalletExists(ctx context.Context, name string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrWalletNameCannotStartWithDot = errors.New("the name cannot start with a dot (\".\") character") ErrWalletNameCannotContainSlashCharacters = errors.New("the name cannot contain slash (\"/\", \"\\\") characters") )
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func InitialiseStore ¶
func (*Store) GetWalletPath ¶
func (*Store) RenameWallet ¶ added in v0.60.0
func (*Store) SaveWallet ¶
Click to show internal directories.
Click to hide internal directories.