Documentation
¶
Index ¶
- type Bulk
- type DB
- func (db *DB) Close() error
- func (db *DB) Delete(namespace []byte, key []byte) error
- func (db *DB) Exist(namespace []byte, key []byte) (bool, error)
- func (db *DB) Get(namespace []byte, key []byte) ([]byte, bool, error)
- func (db *DB) Iterator(start []byte, end []byte) db.Iterator
- func (db *DB) NewBulk() rollupdb.Bulk
- func (db *DB) NewTx() rollupdb.Transaction
- func (db *DB) Set(namespace []byte, key []byte, value []byte) error
- func (db *DB) Type() string
- type Iterator
- type Transaction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bulk ¶
type Bulk struct {
// contains filtered or unexported fields
}
func (*Bulk) DiscardLast ¶
func (bulk *Bulk) DiscardLast()
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) NewTx ¶
func (db *DB) NewTx() rollupdb.Transaction
type Transaction ¶
type Transaction struct {
// contains filtered or unexported fields
}
func (*Transaction) Commit ¶
func (transaction *Transaction) Commit() error
func (*Transaction) Delete ¶
func (transaction *Transaction) Delete(namespace []byte, key []byte) error
func (*Transaction) Discard ¶
func (transaction *Transaction) Discard()
Click to show internal directories.
Click to hide internal directories.