dalgostore

package
v0.168.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2026 License: Apache-2.0 Imports: 10 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func New

func New(db dal.DB) githubapp.DocumentStore

New returns a githubapp.DocumentStore backed by db.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL