Documentation ¶
Overview ¶
Package protavobolt provides a BoltDB based Protavo driver.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OpenExclusive ¶
OpenExclusive returns a BoltDB-based database that is locked for exclusive use by this process.
Types ¶
type ExclusiveDriver ¶
ExclusiveDriver is an implementation of protavo.Driver backed by a BoltDB database that is held open for the life-time of the driver.
func (*ExclusiveDriver) BeginWrite ¶
BeginWrite starts a new read/write transaction.
func (*ExclusiveDriver) Close ¶
func (d *ExclusiveDriver) Close() error
Close closes the driver, freeing any resources and preventing further operations.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.