Documentation
¶
Overview ¶
Package dalgostore implements githubapp.DocumentStore on DALgo.
The bench hub persists through the deliberately small githubapp.DocumentStore seam: a hierarchical document database addressed by a slash-joined collection path plus a document id. This package is the one implementation wb ships, and it is written against github.com/dal-go/dalgo rather than any single vendor's SDK — so the hosted instance runs on dalgo2firestore while a self-hoster supplies any other DALgo engine, including OpenVaultDB. See spec/decisions/0002-bench-open-source-and-self-hosting.md, step 4.
The seam's semantics are narrow on purpose and are reproduced exactly:
- a missing document is (false, nil) from Get, never an error;
- Query takes equality filters only, applied in sorted key order so the composite index a backend needs is stable, with limit 0 meaning unbounded;
- Set replaces the whole document;
- UpdateAtomic runs a read-write transaction and, because DALgo may retry a conflicted worker, may invoke its callback more than once.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.