examples/

directory
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: MIT

Directories

Path Synopsis
Counter thrall in Go - functionally identical to counter.ts and counter_py.py.
Counter thrall in Go - functionally identical to counter.ts and counter_py.py.
Command dyntopo-demo shows how a supervising thrall owns its dynamic topology.
Command dyntopo-demo shows how a supervising thrall owns its dynamic topology.
Package edgeperf is a build-tagged (edgeperf) performance/load harness for the edge category.
Package edgeperf is a build-tagged (edgeperf) performance/load harness for the edge category.
Command account is a domain-neutral demo of event-sourced rebuild: a bank account whose balance survives a restart by replaying its event log, without any in-memory snapshot.
Command account is a domain-neutral demo of event-sourced rebuild: a bank account whose balance survives a restart by replaying its event log, without any in-memory snapshot.
Command writer demonstrates the write-side fencing token pattern: a singleton thrall stamps its fencing epoch (ctx.SingletonEpoch) on every write to a resource, and the resource rejects a write carrying a lower epoch than it has already seen.
Command writer demonstrates the write-side fencing token pattern: a singleton thrall stamps its fencing epoch (ctx.SingletonEpoch) on every write to a resource, and the resource rejects a write carrying a lower epoch than it has already seen.
Command turnstile is a domain-neutral demo of the FSM thrall behaviour (StartFSM).
Command turnstile is a domain-neutral demo of the FSM thrall behaviour (StartFSM).
Gateway thrall on the center (HUB) - proof of cross-node communication in the hub-spoke topology (AE-051 spike).
Gateway thrall on the center (HUB) - proof of cross-node communication in the hub-spoke topology (AE-051 spike).
cmd/probe command
probe - a small listening tool for POSITIVE proof of site isolation (AE-051 spike).
probe - a small listening tool for POSITIVE proof of site isolation (AE-051 spike).
live-dashboard
edge command
A live-dashboard edge (model B): it holds browser SSE connections and pushes each client only the events of the site it is authorized for.
A live-dashboard edge (model B): it holds browser SSE connections and pushes each client only the events of the site it is authorized for.
sensor command
A site sensor thrall: a plain GenServer that, in init, starts a ticker publishing a domain event (a temperature reading) to its own event subject on the ether.
A site sensor thrall: a plain GenServer that, in init, starts a ticker publishing a domain event (a temperature reading) to its own event subject on the ether.
Driver = a Go producer thrall.
Driver = a Go producer thrall.
SCADA spike - site thrall (AE-014).
SCADA spike - site thrall (AE-014).
Command trace-demo is a two-thrall tracing example: an "api" thrall relays an incoming request to a "db" thrall via ctx.Cast, which propagates the correlation trace.
Command trace-demo is a two-thrall tracing example: an "api" thrall relays an incoming request to a "db" thrall via ctx.Cast, which propagates the correlation trace.
Custom edge (model B): a webserver written by hand via thrall.StartEdge.
Custom edge (model B): a webserver written by hand via thrall.StartEdge.

Jump to

Keyboard shortcuts

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