Documentation
¶
Index ¶
- func New(path string, option storage.Option) (storage.IndexDB, error)
- type PebbleDB
- func (p *PebbleDB) Close() error
- func (p *PebbleDB) Delete(ctx context.Context, key []byte) error
- func (p *PebbleDB) Exist(ctx context.Context, key []byte) bool
- func (p *PebbleDB) Expired(ctx context.Context, f storage.IterateFunc) error
- func (p *PebbleDB) GC(ctx context.Context) error
- func (p *PebbleDB) Get(ctx context.Context, key []byte) (*object.Metadata, error)
- func (p *PebbleDB) Iterate(ctx context.Context, prefix []byte, f storage.IterateFunc) error
- func (p *PebbleDB) Set(ctx context.Context, key []byte, val *object.Metadata) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PebbleDB ¶
type PebbleDB struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.