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) NewIterator ¶
NewIterator creates a new database iterator.
type DBPutGetter ¶
type DBPutGetter interface {
Get(key []byte, ro *opt.ReadOptions) (value []byte, err error)
Put(key, value []byte, wo *opt.WriteOptions) error
Close() error
Write(batch *leveldb.Batch, wo *opt.WriteOptions) error
NewIterator(slice *util.Range, ro *opt.ReadOptions) iterator.Iterator
}
DBPutGetter represents a database engine.
Click to show internal directories.
Click to hide internal directories.