Documentation ¶
Index ¶
- type CLevelDB
- func (db *CLevelDB) Close() error
- func (db *CLevelDB) DB() *levigo.DB
- func (db *CLevelDB) Delete(key []byte) error
- func (db *CLevelDB) DeleteSync(key []byte) error
- func (db *CLevelDB) Get(key []byte) ([]byte, error)
- func (db *CLevelDB) Has(key []byte) (bool, error)
- func (db *CLevelDB) Iterator(start, end []byte) (tmdb.Iterator, error)
- func (db *CLevelDB) NewBatch() tmdb.Batch
- func (db *CLevelDB) Print() error
- func (db *CLevelDB) ReverseIterator(start, end []byte) (tmdb.Iterator, error)
- func (db *CLevelDB) Set(key []byte, value []byte) error
- func (db *CLevelDB) SetSync(key []byte, value []byte) error
- func (db *CLevelDB) Stats() map[string]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLevelDB ¶
type CLevelDB struct {
// contains filtered or unexported fields
}
CLevelDB uses the C LevelDB database via a Go wrapper.
func (*CLevelDB) DeleteSync ¶
DeleteSync implements DB.
func (*CLevelDB) ReverseIterator ¶
ReverseIterator implements DB.
Click to show internal directories.
Click to hide internal directories.