Documentation
¶
Overview ¶
Package store is an interface for distribute data storage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = errors.New("not found")
)
Functions ¶
Types ¶
type Store ¶
type Store interface { // embed options options.Options // Dump the known records Dump() ([]*Record, error) // Read a record with key Read(key string) (*Record, error) // Write a record Write(r *Record) error // Delete a record with key Delete(key string) error }
Store is a data storage interface
Click to show internal directories.
Click to hide internal directories.