internal/

directory
v0.0.0-...-de45444 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2026 License: MIT

Directories

Path Synopsis
api
grpcweb
Package grpcweb wraps an existing *grpc.Server so it also speaks the gRPC-Web protocol over plain HTTP.
Package grpcweb wraps an existing *grpc.Server so it also speaks the gRPC-Web protocol over plain HTTP.
Package apps implements daemon-managed installed services (ADR-0009): the on-disk install layout, the package manifest (ensemble-service.yaml), the install record (install.yaml), and the Supervisor that spawns and watches installed services as plain child processes.
Package apps implements daemon-managed installed services (ADR-0009): the on-disk install layout, the package manifest (ensemble-service.yaml), the install record (install.yaml), and the Supervisor that spawns and watches installed services as plain child processes.
Package cache provides a thread-safe, bounded, string-keyed TTL cache — the PeerState design language (ticket def0ab76) extracted for reuse: a TTL refreshed on every Get keeps actively-used entries warm, and a size cap evicts the least-recently-seen entries first, so only entries abandoned by churned-through identities are reaped.
Package cache provides a thread-safe, bounded, string-keyed TTL cache — the PeerState design language (ticket def0ab76) extracted for reuse: a TTL refreshed on every Get keeps actively-used entries warm, and a size cap evicts the least-recently-seen entries first, so only entries abandoned by churned-through identities are reaped.
Package discovery wires the LAN (mDNS) and global (DHT) peer-discovery backends behind a unified Manager.
Package discovery wires the LAN (mDNS) and global (DHT) peer-discovery backends behind a unified Manager.
Package metrics is the node's observability model and collector: a thread-safe pull Registry that subsystems register descriptors with and record samples into via cheap Counter/Gauge/Histogram handles, read by the gRPC/Prometheus surfaces through Snapshot() (the GetDebugInfo / NetDiagnostics pull-aggregator shape — subsystems own their counters, the registry reads; never inverted into push-from-every-caller).
Package metrics is the node's observability model and collector: a thread-safe pull Registry that subsystems register descriptors with and record samples into via cheap Counter/Gauge/Histogram handles, read by the gRPC/Prometheus surfaces through Snapshot() (the GetDebugInfo / NetDiagnostics pull-aggregator shape — subsystems own their counters, the registry reads; never inverted into push-from-every-caller).
promexp
Package promexp adapts an internal/metrics Registry to Prometheus's text-exposition format — the "if you want real Grafana, you can" escape hatch.
Package promexp adapts an internal/metrics Registry to Prometheus's text-exposition format — the "if you want real Grafana, you can" escape hatch.
pb
Package registry implements ADR-0009 §7: service distribution through registries that are themselves ensemble services, trusted by nothing but their E-address.
Package registry implements ADR-0009 §7: service distribution through registries that are themselves ensemble services, trusted by nothing but their E-address.
host
Package host is the registry service runtime (ADR-0009 §7): a daemon child (or dev-run process) that registers over RegisterService, serves the signed index through the registry command protocol, and accepts publisher-gated releases.
Package host is the registry service runtime (ADR-0009 §7): a daemon child (or dev-run process) that registers over RegisterService, serves the signed index through the registry command protocol, and accepts publisher-gated releases.
Package rpc implements the libp2p stream path for service-platform envelopes: SERVICE_RPC bytes for SERVICE_TRANSPORT_RPC services (T1) and SERVICE_INTRODUCTION peer-introduction control messages (T2).
Package rpc implements the libp2p stream path for service-platform envelopes: SERVICE_RPC bytes for SERVICE_TRANSPORT_RPC services (T1) and SERVICE_INTRODUCTION peer-introduction control messages (T2).
Package services owns the runtime registry of services hosted by the daemon.
Package services owns the runtime registry of services hosted by the daemon.
loopback
Package loopback provides a same-host signaling.Backend backed by Unix domain sockets under a well-known rendezvous directory.
Package loopback provides a same-host signaling.Backend backed by Unix domain sockets under a well-known rendezvous directory.
mdns
Package mdns provides a LAN-only signaling.Backend backed by mDNS / DNS-SD advertisements.
Package mdns provides a LAN-only signaling.Backend backed by mDNS / DNS-SD advertisements.
tor
Package tor provides the Tor-based signaling.Backend implementation.
Package tor provides the Tor-based signaling.Backend implementation.
ui
Package uiservice provides the built-in "ui" HTTP service that the daemon publishes alongside the chat-shaped "node" service.
Package uiservice provides the built-in "ui" HTTP service that the daemon publishes alongside the chat-shaped "node" service.
Package uilog plumbs the stdlib log package into both a file and a TUI subscriber so TUI sessions don't have log lines smeared across the altscreen buffer.
Package uilog plumbs the stdlib log package into both a file and a TUI subscriber so TUI sessions don't have log lines smeared across the altscreen buffer.

Jump to

Keyboard shortcuts

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