Documentation ¶
Index ¶
- type BoltDB
- func (db *BoltDB) Close() error
- func (db *BoltDB) Delete(key []byte) error
- func (db *BoltDB) Find(key []byte) keyvaluedb.Iterator
- func (db *BoltDB) First() keyvaluedb.Iterator
- func (db *BoltDB) Last() keyvaluedb.Iterator
- func (db *BoltDB) Path() string
- func (db *BoltDB) Read(key []byte, v any) (bool, error)
- func (db *BoltDB) StartTx() (keyvaluedb.DBTransaction, error)
- func (db *BoltDB) Write(key []byte, v any) error
- type DecodeFn
- type EncodeFn
- type Itr
- type Tx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoltDB ¶
type BoltDB struct {
// contains filtered or unexported fields
}
func New ¶
New creates a new Bolt DB todo: add options and make it possible to use other encode/decode methods
func (*BoltDB) First ¶
func (db *BoltDB) First() keyvaluedb.Iterator
func (*BoltDB) Last ¶
func (db *BoltDB) Last() keyvaluedb.Iterator
func (*BoltDB) StartTx ¶
func (db *BoltDB) StartTx() (keyvaluedb.DBTransaction, error)
Click to show internal directories.
Click to hide internal directories.