syndtr

package
v0.0.0-...-b0c612f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	// contains filtered or unexported fields
}

func (*DB) All

func (db *DB) All(opts *driver.ReadOptions) driver.Iterator

func (*DB) Batch

func (db *DB) Batch() driver.Batch

func (*DB) Close

func (db *DB) Close() error

func (*DB) Delete

func (db *DB) Delete(key []byte, opts *driver.WriteOptions) error

func (*DB) Get

func (db *DB) Get(key []byte, opts *driver.ReadOptions) ([]byte, error)

func (*DB) IsCorrupt

func (db *DB) IsCorrupt(err error) bool

func (*DB) IsNotFound

func (db *DB) IsNotFound(err error) bool

func (*DB) Put

func (db *DB) Put(key, value []byte, opts *driver.WriteOptions) error

func (*DB) Write

func (db *DB) Write(writes driver.Batch, opts *driver.WriteOptions) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL