Documentation ¶
Index ¶
- Variables
- func Begin(_writable bool) (*buntdb.Tx, error)
- func Close() error
- func Commit() error
- func GetClient() (*buntdb.DB, error)
- func GetCurrentOrNewTransaction() (*buntdb.Tx, bool, func() error)
- func GetCurrentTransaction() (*buntdb.Tx, bool)
- func GetDbPath() string
- func GetTempDbPath(prefix string) string
- func InitBuntDB(filename string) error
- func RWDescribe(writable bool) string
- func Rollback() error
- func Save(writer io.Writer) error
- func Shrink() error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GetCurrentOrNewTransaction ¶ added in v0.0.3
GetCurrentOrNewTransaction return current transaction, or create new one if no transaction, make sure the func is called.
func GetCurrentTransaction ¶ added in v0.0.2
GetCurrentTransaction return current transaction, return nil if no current transaction
func GetTempDbPath ¶
func InitBuntDB ¶
func RWDescribe ¶ added in v0.0.2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.