Documentation
¶
Overview ¶
Package store defines the small database boundary used by BlockQueue.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
Driver intentionally exposes only database/sql. SQL builders, rebinding, migrations, and sqlx are implementation details of the queue engine.
type Durability ¶
type Durability string
Durability selects the backend commit-strength profile.
const ( DurabilityStrict Durability = "strict" DurabilityBalanced Durability = "balanced" )
type NotificationHealthSource ¶ added in v0.3.0
type NotificationHealthSource interface {
NotificationHealthy() bool
}
NotificationHealthSource optionally exposes the state of the driver's dedicated listener connection. It is operational health only; polling keeps queue correctness independent from this signal.
type NotificationSource ¶
NotificationSource is an optional capability. Queue correctness never depends on notifications; supported drivers use them to avoid polling latency while bounded reconciliation remains the fallback.
type SQLiteMaintenanceSource ¶
type SQLiteMaintenanceSource interface {
SQLiteMaintenanceEnabled() bool
}
SQLiteMaintenanceSource marks a local SQLite driver that supports WAL checkpoint and incremental-vacuum pragmas. Remote SQLite-compatible drivers such as Turso intentionally do not implement this capability.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package postgres provides the production PostgreSQL storage driver.
|
Package postgres provides the production PostgreSQL storage driver. |
|
Package sqlite provides the production SQLite storage driver.
|
Package sqlite provides the production SQLite storage driver. |
|
Package turso provides experimental libSQL/Turso storage support.
|
Package turso provides experimental libSQL/Turso storage support. |