fs

package
v0.0.0-...-d67b09b Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNull = errors.New("null value")
)

Functions

This section is empty.

Types

type FileSystemRepository

type FileSystemRepository struct {
	// contains filtered or unexported fields
}

func NewFileSystemRepository

func NewFileSystemRepository(codec codec2.Codec, indexer index.Indexer, rootPath string) (*FileSystemRepository, error)

func (*FileSystemRepository) Close

func (fr *FileSystemRepository) Close(ctx context.Context) error

func (*FileSystemRepository) Load

func (fr *FileSystemRepository) Load(ctx context.Context, key string) (domain.KV, error)

func (*FileSystemRepository) Save

func (fr *FileSystemRepository) Save(ctx context.Context, kv domain.KV) error

Jump to

Keyboard shortcuts

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