Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
aggregateaccess
Package aggregateaccess is the infrastructure side of package aggregate.
|
Package aggregateaccess is the infrastructure side of package aggregate. |
|
aggregateaccess/hook
Package hook lets package aggregate hand its bookkeeping to internal/aggregateaccess without exporting it.
|
Package hook lets package aggregate hand its bookkeeping to internal/aggregateaccess without exporting it. |
|
backoff
Package backoff computes jittered retry delays, fixed step schedules and poll intervals for the event-sourcing, scheduler and inbox runtimes.
|
Package backoff computes jittered retry delays, fixed step schedules and poll intervals for the event-sourcing, scheduler and inbox runtimes. |
|
connecttest
Package connecttest serves single RPCs through a connect.Server so server interceptors can be tested without a transport.
|
Package connecttest serves single RPCs through a connect.Server so server interceptors can be tested without a transport. |
|
consumerhook
Package consumerhook lets package consumer hand a Reactor and a Projection what they need from a Runtime and its runner without exporting it.
|
Package consumerhook lets package consumer hand a Reactor and a Projection what they need from a Runtime and its runner without exporting it. |
|
consumertest
Package consumertest is the contract suite that every consumer Runtime (Pg and in-memory) must pass.
|
Package consumertest is the contract suite that every consumer Runtime (Pg and in-memory) must pass. |
|
eventstoretest
Package eventstoretest is the write-side contract suite that every eventstore backend (Pg and in-memory) must pass.
|
Package eventstoretest is the write-side contract suite that every eventstore backend (Pg and in-memory) must pass. |
|
pgtest
Package pgtest runs Postgres-backed tests against one shared testcontainers Postgres per test binary.
|
Package pgtest runs Postgres-backed tests against one shared testcontainers Postgres per test binary. |
|
quickstart/app
Package app is the application layer of the quickstart service: its commands, its queries, the task_list Projection and the notify_assignee Reactor.
|
Package app is the application layer of the quickstart service: its commands, its queries, the task_list Projection and the notify_assignee Reactor. |
|
quickstart/server
command
Command server is the Postgres main of the quickstart service.
|
Command server is the Postgres main of the quickstart service. |
|
quickstart/todo
Package todo is the domain of the quickstart service.
|
Package todo is the domain of the quickstart service. |
|
reactortest
Package reactortest is the contract suite that every Reactor backend (Pg and in-memory consumer Runtimes) must pass.
|
Package reactortest is the contract suite that every Reactor backend (Pg and in-memory consumer Runtimes) must pass. |
|
safecall
Package safecall runs user callbacks (handlers, reactions, jobs) under a timeout and turns their panics into errors, the same way for every runner.
|
Package safecall runs user callbacks (handlers, reactions, jobs) under a timeout and turns their panics into errors, the same way for every runner. |
|
safeid
Package safeid checks identifiers taken from untrusted input, such as a client's request ID, before they are logged or stored.
|
Package safeid checks identifiers taken from untrusted input, such as a client's request ID, before they are logged or stored. |
|
storehook
Package storehook lets eventstore hand the read side of its stores to the consumer runtimes without exporting it.
|
Package storehook lets eventstore hand the read side of its stores to the consumer runtimes without exporting it. |
|
telemetry
Package telemetry is the single registry of span names, metric instruments, attribute keys, log keys and histogram boundaries used by the event-sourcing, scheduler, inbox, notify and lease packages.
|
Package telemetry is the single registry of span names, metric instruments, attribute keys, log keys and histogram boundaries used by the event-sourcing, scheduler, inbox, notify and lease packages. |
|
pkg
|
|
|
connectrpc
Package connectrpc provides interceptors for Connect RPC services.
|
Package connectrpc provides interceptors for Connect RPC services. |
|
connectrpc/deadline
Package deadline provides deadline enforcement for Connect RPC handlers.
|
Package deadline provides deadline enforcement for Connect RPC handlers. |
|
connectrpc/errors
Package errors provides error mapping for Connect RPC handlers.
|
Package errors provides error mapping for Connect RPC handlers. |
|
connectrpc/interceptor
Package interceptor provides default interceptor chain builders for Connect RPC services.
|
Package interceptor provides default interceptor chain builders for Connect RPC services. |
|
connectrpc/jwtauth
Package jwtauth provides JWT authentication for Connect RPC services.
|
Package jwtauth provides JWT authentication for Connect RPC services. |
|
connectrpc/logging
Package logging provides structured request/response logging for Connect RPC handlers.
|
Package logging provides structured request/response logging for Connect RPC handlers. |
|
connectrpc/recovery
Package recovery provides panic recovery for Connect RPC handlers.
|
Package recovery provides panic recovery for Connect RPC handlers. |
|
connectrpc/requestid
Package requestid provides request ID propagation for Connect RPC handlers.
|
Package requestid provides request ID propagation for Connect RPC handlers. |
|
ctxutil
Package ctxutil provides utility functions for storing and retrieving request-scoped values in context.Context.
|
Package ctxutil provides utility functions for storing and retrieving request-scoped values in context.Context. |
|
eventsourcing/aggregate
Package aggregate is the domain-facing side of event sourcing.
|
Package aggregate is the domain-facing side of event sourcing. |
|
eventsourcing/aggregate/aggregatetest
Package aggregatetest builds Aggregates from a history of events for domain unit tests, without a Repository, Codec or database.
|
Package aggregatetest builds Aggregates from a history of events for domain unit tests, without a Repository, Codec or database. |
|
eventsourcing/consumer
Package consumer runs Consumers: named, Cursor-tracked readers of the event log.
|
Package consumer runs Consumers: named, Cursor-tracked readers of the event log. |
|
eventsourcing/eventstore
Package eventstore stores domain events in the event log.
|
Package eventstore stores domain events in the event log. |
|
eventsourcing/projection
Package projection runs versioned read models (ADR-0005).
|
Package projection runs versioned read models (ADR-0005). |
|
eventsourcing/reactor
Package reactor turns events into commands (ADR-0007).
|
Package reactor turns events into commands (ADR-0007). |
|
grpchealth
Package grpchealth provides a health check aggregator for connectrpc.com/grpchealth/v2.
|
Package grpchealth provides a health check aggregator for connectrpc.com/grpchealth/v2. |
|
inbox
Package inbox is a durable, deduplicated, leased work queue in Postgres for incoming external messages such as webhooks.
|
Package inbox is a durable, deduplicated, leased work queue in Postgres for incoming external messages such as webhooks. |
|
koanfutil
Package koanfutil provides utilities for koanf configuration loading.
|
Package koanfutil provides utilities for koanf configuration loading. |
|
nats
Package nats provides NATS and JetStream connection utilities with tracing integration.
|
Package nats provides NATS and JetStream connection utilities with tracing integration. |
|
otel
Package otel provides OpenTelemetry initialization for tracing, metrics, and logging.
|
Package otel provides OpenTelemetry initialization for tracing, metrics, and logging. |
|
postgres
Package postgres provides database access utilities with tracing integration.
|
Package postgres provides database access utilities with tracing integration. |
|
postgres/guard
Package guard enforces tenant-scoped uniqueness rules, such as "one user per e-mail address".
|
Package guard enforces tenant-scoped uniqueness rules, such as "one user per e-mail address". |
|
postgres/lease
Package lease grants mutual exclusion between processes through Postgres session advisory locks, all held on one connection per process.
|
Package lease grants mutual exclusion between processes through Postgres session advisory locks, all held on one connection per process. |
|
postgres/notify
Package notify multiplexes Postgres LISTEN/NOTIFY over one connection per process.
|
Package notify multiplexes Postgres LISTEN/NOTIFY over one connection per process. |
|
postgres/numbering
Package numbering hands out gapless numbers per (tenant, context, name), such as invoice numbers.
|
Package numbering hands out gapless numbers per (tenant, context, name), such as invoice numbers. |
|
scheduler
Package scheduler runs jobs that are due at most once and never catches up on missed runs (ADR-0008).
|
Package scheduler runs jobs that are due at most once and never catches up on missed runs (ADR-0008). |
|
shutdown
Package shutdown provides graceful shutdown orchestration for services.
|
Package shutdown provides graceful shutdown orchestration for services. |
|
slogutil
Package slogutil provides configuration and setup utilities for slog.
|
Package slogutil provides configuration and setup utilities for slog. |
|
tracing
Package tracing provides utility functions for manual span creation.
|
Package tracing provides utility functions for manual span creation. |
Click to show internal directories.
Click to hide internal directories.