Documentation ¶
Index ¶
- func NewStoragePlugin() ds.Datastore
- type StoragePlugin
- type StorePlugin
- func (s *StorePlugin) Close() error
- func (s *StorePlugin) Delete(ctx context.Context, key ds.Key) error
- func (s *StorePlugin) Get(ctx context.Context, key ds.Key) (value []byte, err error)
- func (s *StorePlugin) GetSize(ctx context.Context, key ds.Key) (size int, err error)
- func (s *StorePlugin) Has(ctx context.Context, key ds.Key) (exists bool, err error)
- func (s *StorePlugin) Put(ctx context.Context, key ds.Key, value []byte) error
- func (s *StorePlugin) Query(ctx context.Context, q query.Query) (query.Results, error)
- func (s *StorePlugin) Sync(ctx context.Context, prefix ds.Key) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStoragePlugin ¶
Types ¶
type StoragePlugin ¶
Click to show internal directories.
Click to hide internal directories.