Documentation ¶
Overview ¶
package blockstore implements a thin wrapper over a datastore, giving a clean interface for Getting and Putting block objects.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ValueTypeMismatch = errors.New("The retrieved value is not a Block")
Functions ¶
This section is empty.
Types ¶
type Blockstore ¶
func NewBlockstore ¶
func NewBlockstore(d ds.ThreadSafeDatastore) Blockstore
Click to show internal directories.
Click to hide internal directories.