Versions in this module Expand all Collapse all v1 v1.4.1 Jan 25, 2018 Changes in this version + var ErrNoMount = errors.New("no datastore mounted for this key") + type Datastore struct + func New(mounts []Mount) *Datastore + func (d *Datastore) Batch() (ds.Batch, error) + func (d *Datastore) Check() error + func (d *Datastore) Close() error + func (d *Datastore) CollectGarbage() error + func (d *Datastore) Delete(key ds.Key) error + func (d *Datastore) Get(key ds.Key) (value interface{}, err error) + func (d *Datastore) Has(key ds.Key) (exists bool, err error) + func (d *Datastore) IsThreadSafe() + func (d *Datastore) Put(key ds.Key, value interface{}) error + func (d *Datastore) Query(q query.Query) (query.Results, error) + func (d *Datastore) Scrub() error + type Mount struct + Datastore ds.Datastore + Prefix ds.Key