Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRecordNotFound = errors.New("record not found")
ErrRecordNotFound ...
Functions ¶
This section is empty.
Types ¶
type BlobStore ¶
type BlobStore interface {
Close() error
CreateStoreIfNotExists(table string) error
DeleteStore(table string) error
View(table string, fn func(tx BlobTx) error) error
Update(table string, fn func(tx BlobTx) error) error
}
BlobStore ...
type BlobTx ¶
type BlobTx interface {
Put(key string, value []byte) error
Get(key string) ([]byte, error)
Delete(key string) error
ScanPrefix(prefix string) ([][]byte, error)
ScanCursor(cursor Cursor) ([][]byte, error)
}
BlobTx ...
Click to show internal directories.
Click to hide internal directories.