Documentation ¶
Index ¶
- Constants
- type Batch
- type DB
- type GoLevelDB
- func (db *GoLevelDB) Close()
- func (db *GoLevelDB) DB() *leveldb.DB
- func (db *GoLevelDB) Delete(key []byte)
- func (db *GoLevelDB) DeleteSync(key []byte)
- func (db *GoLevelDB) Get(key []byte) []byte
- func (db *GoLevelDB) Iterator() Iterator
- func (db *GoLevelDB) NewBatch() Batch
- func (db *GoLevelDB) Print()
- func (db *GoLevelDB) Set(key []byte, value []byte)
- func (db *GoLevelDB) SetSync(key []byte, value []byte)
- type Iterator
- type MemDB
- func (db *MemDB) Close()
- func (db *MemDB) Delete(key []byte)
- func (db *MemDB) DeleteSync(key []byte)
- func (db *MemDB) Get(key []byte) []byte
- func (db *MemDB) Iterator() Iterator
- func (db *MemDB) NewBatch() Batch
- func (db *MemDB) Print()
- func (db *MemDB) Set(key []byte, value []byte)
- func (db *MemDB) SetSync(key []byte, value []byte)
Constants ¶
View Source
const ( LevelDBBackendStr = "leveldb" // legacy, defaults to goleveldb. CLevelDBBackendStr = "cleveldb" GoLevelDBBackendStr = "goleveldb" MemDBBackendStr = "memdb" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type GoLevelDB ¶
type GoLevelDB struct {
// contains filtered or unexported fields
}
func (*GoLevelDB) DeleteSync ¶
type MemDB ¶
type MemDB struct {
// contains filtered or unexported fields
}
func (*MemDB) DeleteSync ¶
Click to show internal directories.
Click to hide internal directories.