2025-12-04 16:31:41 +00:00
|
|
|
# Litestream lightweight read-replicas
|
2025-11-09 13:16:08 +00:00
|
|
|
|
2025-12-04 16:31:41 +00:00
|
|
|
This package implements the **EXPERIMENTAL** `"litestream"` SQLite VFS
|
|
|
|
|
that offers Litestream [lightweight read-replicas](https://fly.io/blog/litestream-revamped/#lightweight-read-replicas).
|
2025-11-26 12:53:07 +00:00
|
|
|
|
|
|
|
|
See the [example](example_test.go) for how to use.
|
2025-12-12 17:21:33 +00:00
|
|
|
|
|
|
|
|
Our `PRAGMA litestream_time` accepts:
|
|
|
|
|
- Go [duration strings](https://pkg.go.dev/time#ParseDuration)
|
|
|
|
|
- SQLite [time values](https://sqlite.org/lang_datefunc.html#time_values)
|
|
|
|
|
- SQLite [time modifiers 1 through 13](https://sqlite.org/lang_datefunc.html#modifiers)
|