blockstore

package
v0.0.0-...-bebc87d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2014 License: MIT Imports: 4 Imported by: 0

Documentation

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

type Blockstore interface {
	Get(u.Key) (*blocks.Block, error)
	Put(blocks.Block) error
}

func NewBlockstore

func NewBlockstore(d ds.Datastore) Blockstore

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL