Documentation
¶
Overview ¶
Package bchat mounts the bchat application's Go module (github.com/lightwebinc/bchat/module) in this engine: tm_bchat_<ws> for each workspace BCHAT_WORKSPACES names and ls_bchat for all of them, with its terms route on BCHAT_LISTEN (where history, export, chain and search are sold) and its rows journal, admission counter and payment ledger under BCHAT_STATE_DIR. The module reads the same BCHAT_ variables as the TypeScript module (bchat docs/host.md); this package only registers it and runs its background work (the terms route, the payment watch, the drops it waits to carry out and retention) for the life of the process.
ls_bchat is also a module.Replayer: the catch-up syncer repairs the tm_bchat_ 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_bchat_ topic: module.Mount refuses two managers on one topic.
Index ¶
Constants ¶
const Name = bchatmod.Name
Name is the module name in OVERLAY_MODULES.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.