Documentation
¶
Index ¶
- Variables
- type Store
- func (s *Store) GetConfig() (*config.Config, error)
- func (s *Store) GetRsaKeys() (*wallet.RSAKeys, error)
- func (s *Store) GetWallet(name, passphrase string) (wallet.Wallet, error)
- func (s *Store) GetWalletPath(name string) string
- func (s *Store) Initialise() error
- func (s *Store) SaveConfig(cfg *config.Config, overwrite bool) error
- func (s *Store) SaveRSAKeys(keys *wallet.RSAKeys, overwrite bool) error
- func (s *Store) SaveWallet(w wallet.Wallet, passphrase string) error
- func (s *Store) WalletExists(name string) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrRSAFolderDoesNotExists = errors.New("RSA folder does not exist")
)
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) GetWalletPath ¶
func (*Store) Initialise ¶
Initialise creates the folders. It does nothing if a folder already exists.
func (*Store) WalletExists ¶
Click to show internal directories.
Click to hide internal directories.