Documentation
¶
Overview ¶
cache is a package defining the interface of cache factories
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface {
// Load Loads a cache for a given database address and a root directory
Load(directory string, dbAddress address.Address) (datastore.Datastore, error)
// Close Closes a cache and all its associated data stores
Close() error
// Destroy Removes all the cached data for a database
Destroy(directory string, dbAddress address.Address) error
}
Interface Cache interface
Directories
¶
| Path | Synopsis |
|---|---|
|
cacheleveldown is a package returning level db data stores for OrbitDB
|
cacheleveldown is a package returning level db data stores for OrbitDB |
Click to show internal directories.
Click to hide internal directories.