This is a fork focusing on library use, which uses the
ncruces/go-sqlite3 driver.
If you can use the litestream CLI for streaming replication, please do.
The ncruces/go-sqlite3 driver is compatible
with the CLI on all major platforms.
Otherwise, check the examples for how to use.
This also implements the "litestream" SQLite VFS that offers
Litestream lightweight read-replicas
for the ncruces/go-sqlite3 driver.
Our VFS API has significant differences from upstream; follow the usage example.
Our PRAGMA litestream_time accepts:
- Go duration strings
- SQLite time values
- SQLite time modifiers 1 through 13