# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
EnableRegistryPersistence enables persistence of the database registry.
Initialize initializes the database at the specified location using a dir structure.
InitializeWithPath initializes the database at the specified location using a path.
InjectDatabase injects an already running database into the system.
Maintain runs the Maintain method on all storages.
MaintainRecordStates runs record state lifecycle maintenance on all storages.
MaintainThorough runs the MaintainThorough method on all storages.
NewInterface returns a new Interface to the database.
Register registers a new database.
RegisterHook registers a hook for records matching the given query in the database.
Shutdown shuts down the whole database system.
# Constants
StorageTypeInjected is the type of injected databases.
# Variables
Errors.
Errors.
Errors.
Errors.
Errors.
# Structs
A Controller takes care of all the extra database logic.
Database holds information about a registered database.
HookBase implements the Hook interface and provides dummy functions to reduce boilerplate.
Interface provides a method to access the database with attached options.
Options holds options that may be set for an Interface instance.
RegisteredHook is a registered database hook.
Subscription is a database subscription for updates.
# Interfaces
Hook can be registered for a database query and will be executed at certain points during the life cycle of a database record.