Versions in this module Expand all Collapse all v0 v0.2.0 Aug 2, 2026 Changes in this version + var ErrExists = errors.New("sqlitestream: file exists") + var ErrNotReplicating = errors.New("sqlitestream: replication not configured") + var ErrReplicaEmpty = errors.New("sqlitestream: replica is empty — nothing to restore") type DB + func (d *DB) LastSyncedAt() time.Time + func (d *DB) Replicating() bool + func (d *DB) Retention() bool + func (d *DB) SyncStatus(ctx context.Context) (litestream.SyncStatus, error) v0.1.0 Jul 30, 2026 Changes in this version + func Restore(ctx context.Context, outputPath string, force bool, opts ...Option) error + type DB struct + func Open(ctx context.Context, path string, opts ...Option) (*DB, error) + func (d *DB) Close(ctx context.Context) error + func (d *DB) DB() *sql.DB + type Option func(*config) + func WithAWSCredentials(accessKeyID, secretAccessKey string) Option + func WithLogger(logger *slog.Logger) Option + func WithReplicaURL(url string) Option