Documentation ¶
Index ¶
- func FetchDB[T any, K byteslike](db *bbolt.DB, bucket string, key ...K) (T, error)
- func FetchDB_Tx[T any, K byteslike](tx *bbolt.Tx, bucket string, key ...K) (T, error)
- func StoreDB[K byteslike](db *bbolt.DB, bucket string, key K, val any) error
- func StoreDBNested[K byteslike](db *bbolt.DB, bucket string, key []K, val any) error
- func StoreDBNested_Tx[K byteslike](tx *bbolt.Tx, bucket string, key []K, val any) error
- func StoreDB_Tx[K byteslike](tx *bbolt.Tx, bucket string, key K, val any) error
- func Update[T any, K byteslike](db *bbolt.DB, bucket string, key K, modifier func(v T) (T, error)) error
- func UpdateNested[T any, K byteslike](db *bbolt.DB, bucket string, key []K, modifier func(v T) (T, error)) error
- func UpdateTx[T any, K byteslike](tx *bbolt.Tx, bucket string, key K, modifier func(v T) (T, error)) error
- func UpdateTxNested[T any, K byteslike](tx *bbolt.Tx, bucket string, key []K, modifier func(v T) (T, error)) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchDB_Tx ¶
FetchDB_Tx anything (but in a Tx)
func StoreDBNested ¶
func StoreDBNested_Tx ¶
func UpdateNested ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.