Documentation ¶
Index ¶
- type Database
- func (db *Database) Close() error
- func (db *Database) Compact(start []byte, limit []byte) error
- func (db *Database) Delete(key []byte) error
- func (db *Database) Get(key []byte) ([]byte, error)
- func (db *Database) Has(key []byte) (bool, error)
- func (db *Database) Len() int
- func (db *Database) NewBatch() ligodb.Batch
- func (db *Database) NewIterator() ligodb.Iterator
- func (db *Database) NewIteratorWithPrefix(prefix []byte) ligodb.Iterator
- func (db *Database) Put(key []byte, value []byte) error
- func (db *Database) Stat(property string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
func NewWithCap ¶
func (*Database) NewIterator ¶
func (*Database) NewIteratorWithPrefix ¶
Click to show internal directories.
Click to hide internal directories.