Documentation ¶
Overview ¶
Package mount provides a Datastore that has other Datastores mounted at various key prefixes.
Index ¶
- Variables
- type Datastore
- func (d *Datastore) Batch() (datastore.Batch, error)
- func (d *Datastore) Check() error
- func (d *Datastore) Close() error
- func (d *Datastore) CollectGarbage() error
- func (d *Datastore) Delete(key datastore.Key) error
- func (d *Datastore) Get(key datastore.Key) (value interface{}, err error)
- func (d *Datastore) Has(key datastore.Key) (exists bool, err error)
- func (d *Datastore) Put(key datastore.Key, value interface{}) error
- func (d *Datastore) Query(q query.Query) (query.Results, error)
- func (d *Datastore) Scrub() 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 ¶
type Datastore ¶
type Datastore struct {
// contains filtered or unexported fields
}
func (*Datastore) CollectGarbage ¶
Click to show internal directories.
Click to hide internal directories.