Documentation
¶
Index ¶
- Variables
- type Datastore
- func (d *Datastore) Batch(ctx context.Context) (datastore.Batch, error)
- func (d *Datastore) Close() error
- func (d *Datastore) CollectGarbage(ctx context.Context) error
- func (d *Datastore) Commit(ctx context.Context) error
- func (d *Datastore) Delete(ctx context.Context, key datastore.Key) error
- func (d *Datastore) Get(ctx context.Context, key datastore.Key) (value []byte, err error)
- func (d *Datastore) GetSize(ctx context.Context, key datastore.Key) (size int, err error)
- func (d *Datastore) Has(ctx context.Context, key datastore.Key) (exists bool, err error)
- func (d *Datastore) Put(ctx context.Context, key datastore.Key, value []byte) error
- func (d *Datastore) Query(ctx context.Context, q query.Query) (query.Results, error)
- func (d *Datastore) Sync(ctx context.Context, prefix datastore.Key) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrLimit = errors.New("query limit")
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.