filesystem

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidKey = errinternal.ErrInvalidKey
	ErrNotFound   = errinternal.ErrNotFound
)

Functions

This section is empty.

Types

type Storage

type Storage struct {
	Dir string
}

func New

func New(path string) (*Storage, error)

func (*Storage) Delete

func (s *Storage) Delete(key string) error

func (*Storage) Load

func (s *Storage) Load(key string) ([]byte, error)

func (*Storage) Save

func (s *Storage) Save(key string, data []byte) error

Jump to

Keyboard shortcuts

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