Documentation ¶
Index ¶
- type LevelDB
- func (d *LevelDB) Close() error
- func (d *LevelDB) Commit(batch *leveldb.Batch) error
- func (d *LevelDB) Compact() error
- func (d *LevelDB) Delete(key []byte) error
- func (d *LevelDB) Get(key []byte) ([]byte, error)
- func (d *LevelDB) Iterate(prefix []byte, callback func(key, value []byte) bool) error
- func (d *LevelDB) Set(key, value []byte) error
- func (d *LevelDB) WriteTx() db.WriteTx
- type WriteTx
- func (tx *WriteTx) Apply(otherTx db.WriteTx) error
- func (tx *WriteTx) Commit() error
- func (tx *WriteTx) Delete(k []byte) error
- func (tx *WriteTx) Discard()
- func (tx *WriteTx) Get(k []byte) ([]byte, error)
- func (tx *WriteTx) Iterate(prefix []byte, callback func(k, v []byte) bool) error
- func (tx *WriteTx) Set(k, v []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LevelDB ¶
type LevelDB struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.