Documentation ¶
Index ¶
- type PebbleEngine
- func (db *PebbleEngine) Begin(readonly bool) (engine.Transaction, error)
- func (db *PebbleEngine) Close() error
- func (db *PebbleEngine) Delete(key []byte, options ...opts.Option) error
- func (db *PebbleEngine) Engine() string
- func (db *PebbleEngine) Get(key []byte, options ...opts.Option) (value []byte, err error)
- func (db *PebbleEngine) Iter(prefix []byte) (i iterator.Iterator, err error)
- func (db *PebbleEngine) Put(key, value []byte, options ...opts.Option) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PebbleEngine ¶
type PebbleEngine struct {
// contains filtered or unexported fields
}
func Open ¶
func Open(path string, conf config.Config) (_ *PebbleEngine, err error)
TODO: Allow Passing Pebble Options
func (*PebbleEngine) Begin ¶ added in v0.2.2
func (db *PebbleEngine) Begin(readonly bool) (engine.Transaction, error)
func (*PebbleEngine) Delete ¶ added in v0.2.2
func (db *PebbleEngine) Delete(key []byte, options ...opts.Option) error
Delete the object represented by the key, creating a tombstone object.
func (*PebbleEngine) Engine ¶
func (db *PebbleEngine) Engine() string
Returns a string giving the engine type.
Click to show internal directories.
Click to hide internal directories.