internal/

directory
v0.7.0 Latest Latest
Warning

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

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

Directories

Path Synopsis
Package edge holds the translation logic of the built-in HTTP ingress: matching an incoming request to a configured route, building the ether call/cast envelope, and mapping the outcome back to an HTTP status.
Package edge holds the translation logic of the built-in HTTP ingress: matching an incoming request to a configured route, building the ether call/cast envelope, and mapping the outcome back to an HTTP status.
Package ether manages the bus (the ether): an embedded NATS server, or a connection to an external cluster.
Package ether manages the bus (the ether): an embedded NATS server, or a connection to an external cluster.
Package fencing holds the self-fencing loop shared by processes the lord spawns: a thrall or an edge server periodically verifies a KV token (a singleton lock or the lord's liveness lease) and terminates itself when the token is lost, so no process outlives the authority that owns it.
Package fencing holds the self-fencing loop shared by processes the lord spawns: a thrall or an edge server periodically verifies a KV token (a singleton lock or the lord's liveness lease) and terminates itself when the token is lost, so no process outlives the authority that owns it.
Package lord implements the supervisor: it reads the manifest, spawns thralls as OS processes, watches them and restarts them per strategy (one_for_one / one_for_all / rest_for_one).
Package lord implements the supervisor: it reads the manifest, spawns thralls as OS processes, watches them and restarts them per strategy (one_for_one / one_for_all / rest_for_one).
Package lordlease implements a lord-liveness lease over NATS KV, so that every thrall can tell - independently of any direct signal - whether the lord that spawned it is still alive, and self-terminate if it is not.
Package lordlease implements a lord-liveness lease over NATS KV, so that every thrall can tell - independently of any direct signal - whether the lord that spawned it is still alive, and self-terminate if it is not.
Package natstest spins up an embedded NATS server secured with nkey auth and server TLS, for tests that need to prove aether authenticates to a secured bus.
Package natstest spins up an embedded NATS server secured with nkey auth and server TLS, for tests that need to prove aether authenticates to a secured bus.
Package obs holds the runtime's observability primitives shared by the lord and the Go SDK: structured logging and the in-process metric registry.
Package obs holds the runtime's observability primitives shared by the lord and the Go SDK: structured logging and the in-process metric registry.
Package registry holds a name -> state map in a NATS KV bucket ("aether_registry").
Package registry holds a name -> state map in a NATS KV bucket ("aether_registry").
Package singleton implements a distributed lock over NATS KV - so that a thrall with scope="singleton" runs only once across the whole cluster, even when several lords run against it (multi-node).
Package singleton implements a distributed lock over NATS KV - so that a thrall with scope="singleton" runs only once across the whole cluster, even when several lords run against it (multi-node).
Package soak provides the pure metric primitives for the aether soak/chaos suite: bounded-memory latency percentiles, a windowed latency-trend check and a growth (leak) check.
Package soak provides the pure metric primitives for the aether soak/chaos suite: bounded-memory latency percentiles, a windowed latency-trend check and a growth (leak) check.
Package wire defines the envelope and subject conventions shared with the SDKs.
Package wire defines the envelope and subject conventions shared with the SDKs.

Jump to

Keyboard shortcuts

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