Documentation ¶
Index ¶
- type MemDB
- func (db *MemDB) Close()
- func (db *MemDB) Delete(key []byte)
- func (db *MemDB) DeleteNoLock(key []byte)
- func (db *MemDB) DeleteNoLockSync(key []byte)
- func (db *MemDB) DeleteSync(key []byte)
- func (db *MemDB) Get(key []byte) []byte
- func (db *MemDB) Has(key []byte) bool
- func (db *MemDB) Iterator(start, end []byte) dbm.Iterator
- func (db *MemDB) Mutex() *sync.Mutex
- func (db *MemDB) NewBatch() dbm.Batch
- func (db *MemDB) Print()
- func (db *MemDB) ReverseIterator(start, end []byte) dbm.Iterator
- func (db *MemDB) Set(key []byte, value []byte)
- func (db *MemDB) SetNoLock(key []byte, value []byte)
- func (db *MemDB) SetNoLockSync(key []byte, value []byte)
- func (db *MemDB) SetSync(key []byte, value []byte)
- func (db *MemDB) Stats() map[string]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemDB ¶
type MemDB struct {
// contains filtered or unexported fields
}
func (*MemDB) DeleteNoLock ¶
Implements internal.AtomicSetDeleter.
func (*MemDB) DeleteNoLockSync ¶
Implements internal.AtomicSetDeleter.
func (*MemDB) ReverseIterator ¶
Implements DB.
func (*MemDB) SetNoLockSync ¶
Implements internal.AtomicSetDeleter.
Click to show internal directories.
Click to hide internal directories.