file

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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 (*FilesystemStore) List

func (f *FilesystemStore) List() ([]string, error)

func (*FilesystemStore) Set

func (f *FilesystemStore) Set(identity *wallet2.IdentityInWallet) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL