Documentation
¶
Overview ¶
Package mount provides a Datastore that has other Datastores mounted at various key prefixes and is threadsafe
Index ¶
- Variables
- type 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) DiskUsage() (uint64, error)
- func (d *Datastore) Get(key ds.Key) (value []byte, err error)
- func (d *Datastore) GetSize(key ds.Key) (size int, err error)
- func (d *Datastore) Has(key ds.Key) (exists bool, err error)
- func (d *Datastore) Put(key ds.Key, value []byte) error
- func (d *Datastore) Query(master query.Query) (query.Results, error)
- func (d *Datastore) Scrub() error
- func (d *Datastore) Sync(prefix ds.Key) error
- type Mount
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoMount = errors.New("no datastore mounted for this key")
)
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.