Documentation
¶
Overview ¶
Package borg mounts the borg application's Go module (github.com/lightwebinc/borg/module) in this engine: tm_borg_<hall> for each hall BORG_HALLS names and ls_borg for all of them, with its terms route on BORG_LISTEN (where history is sold) and its rows journal and payment ledger under BORG_STATE_DIR. The module reads the same BORG_ variables as the TypeScript module (borg docs/host.md); this package only registers it and runs its background work (the terms route, the payment watch and retention) for the life of the process.
ls_borg is also a module.Replayer: the catch-up syncer repairs the tm_borg_ topics, which GASP never carries, by the module's ordered replay from the peers (docs/catch-up.md).
A host that mounts it beside anytx names anytx's own topics with OVERLAY_ANYTX_TOPICS, leaving out every tm_borg_ topic: module.Mount refuses two managers on one topic.
Index ¶
Constants ¶
const Name = borgmod.Name
Name is the module name in OVERLAY_MODULES.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.