Documentation ¶
Overview ¶
Package leveldb provides an ordered key/value store.
BUG: This package is incomplete.
Index ¶
- type Batch
- type DB
- func (d *DB) Apply(batch Batch, opts *db.WriteOptions) error
- func (d *DB) Close() error
- func (d *DB) Delete(key []byte, opts *db.WriteOptions) error
- func (d *DB) Find(key []byte, opts *db.ReadOptions) db.Iterator
- func (d *DB) Get(key []byte, opts *db.ReadOptions) ([]byte, error)
- func (d *DB) Set(key, value []byte, opts *db.WriteOptions) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Batch ¶
type Batch struct {
// contains filtered or unexported fields
}
Batch is a sequence of Sets and/or Deletes that are applied atomically.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package bloom implements Bloom filters.
|
Package bloom implements Bloom filters. |
Package crc implements the checksum algorithm used throughout leveldb.
|
Package crc implements the checksum algorithm used throughout leveldb. |
Package db defines the interfaces for a key/value store.
|
Package db defines the interfaces for a key/value store. |
Package memdb provides a memory-backed implementation of the db.DB interface.
|
Package memdb provides a memory-backed implementation of the db.DB interface. |
Package memfs provides a memory-backed db.FileSystem implementation.
|
Package memfs provides a memory-backed db.FileSystem implementation. |
Package record reads and writes sequences of records.
|
Package record reads and writes sequences of records. |
Package table implements readers and writers of leveldb tables.
|
Package table implements readers and writers of leveldb tables. |
Click to show internal directories.
Click to hide internal directories.