bstore

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: Apache-2.0 Imports: 4 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 bstore mounts the bstore application's Go module (github.com/lightwebinc/bstore/module) in this engine: tm_bstore_<bucket> for each bucket BSTORE_BUCKETS names, tm_bstoreblob_<bucket> where OVERLAY_TOPICS names one (it refuses everything: a host holds no pieces), and ls_bstore for all of them, with its terms route on BSTORE_LISTEN (8294 on a Go host) and its state under BSTORE_STATE_DIR. The module reads the same BSTORE_ variables as the TypeScript module (bstore docs/host.md); this package only registers it and runs its background work (drops, retention, the payment watch) for the life of the process.

A host that mounts it beside anytx names anytx's own topics with OVERLAY_ANYTX_TOPICS, leaving out every tm_bstore_ and tm_bstoreblob_ topic: module.Mount refuses two managers on one topic.

Index

Constants

View Source
const Name = bstoremod.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