db

package
v1.4.98 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage[T any] interface {
	Configure() (err error)
	Get(name string) (ret *T, err error)
	GetNames() (ret []string, err error)
	Delete(name string) (err error)
	Exists(name string) (ret bool)
	Rename(oldName, newName string) (err error)
	Save(name string, content []byte) (err error)
	Load(name string) (ret []byte, err error)
	ListNames() (err error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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