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