Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiskStore ¶
type DiskStore[V any] struct { // contains filtered or unexported fields }
DiskStore is a generic file-per-record store on disk. Each record is stored as a JSON file keyed by primary key.
func NewDiskStore ¶
NewDiskStore creates a new DiskStore. The baseDir/entityName directory is created if it does not exist.
Click to show internal directories.
Click to hide internal directories.