Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrDirectoryNotExists = errors.New(`directory not exists`)
)
Functions ¶
This section is empty.
Types ¶
type FilesystemStore ¶
type FilesystemStore struct {
// contains filtered or unexported fields
}
func New ¶
func New(baseDir string) (*FilesystemStore, error)
func (*FilesystemStore) Delete ¶
func (f *FilesystemStore) Delete(label string) error
func (*FilesystemStore) Get ¶
func (f *FilesystemStore) Get(label string) (*wallet2.IdentityInWallet, error)
func (*FilesystemStore) List ¶
func (f *FilesystemStore) List() ([]string, error)
func (*FilesystemStore) Set ¶
func (f *FilesystemStore) Set(identity *wallet2.IdentityInWallet) error
Click to show internal directories.
Click to hide internal directories.