borg

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 5 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 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

View Source
const Name = borgmod.Name

Name is the module name in OVERLAY_MODULES.

Variables

This section is empty.

Functions

func New

func New(h module.Host) (module.Module, error)

New builds the module from the environment and starts its terms route and background tick.

Types

This section is empty.

Jump to

Keyboard shortcuts

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