package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Aug 14, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ParseURI parses the given sqlite3 URI checking if it's compatible with
dqlite.
Only pure file names without any directory segment are accepted
(e.g. "test.db"). Query parameters are always valid except for
"mode=memory".
It returns the filename and query parameters.
Restore the given database and WAL backups, writing them at the given
database path.
Snapshot returns a snapshot of the SQLite database with the given path.
The snapshot is comprised of two byte slices, one with the content of the
database and one is the content of the WAL file.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.