Directories
¶
| Path | Synopsis |
|---|---|
|
Package audit centralizes bootstrap-period audit-chain helpers used by auditcore's auditappendbootstrap slice handler.
|
Package audit centralizes bootstrap-period audit-chain helpers used by auditcore's auditappendbootstrap slice handler. |
|
ledger
Package ledger provides a typed Protocol primitive and Store interface for append-only, HMAC-linked audit chains.
|
Package ledger provides a typed Protocol primitive and Store interface for append-only, HMAC-linked audit chains. |
|
ledger/storetest
Package storetest provides a reusable Protocol-driven contract test suite for ledger.Store implementations.
|
Package storetest provides a reusable Protocol-driven contract test suite for ledger.Store implementations. |
|
ref: go-kratos/kratos middleware/auth/auth.go — auth middleware pattern Adopted: middleware wrapping pattern, Claims extraction from context.
|
ref: go-kratos/kratos middleware/auth/auth.go — auth middleware pattern Adopted: middleware wrapping pattern, Claims extraction from context. |
|
config
Package config is the production wiring entrypoint for runtime/auth components.
|
Package config is the production wiring entrypoint for runtime/auth components. |
|
credentialfence
Package credentialfence is the sealed source of the credential-invalidation FenceToken — a capability proof that authorizes calls to the three credential mutation methods (session.Store.RevokeForSubject / refresh.Store.RevokeUser / ports.UserRepository.BumpAuthzEpoch).
|
Package credentialfence is the sealed source of the credential-invalidation FenceToken — a capability proof that authorizes calls to the three credential mutation methods (session.Store.RevokeForSubject / refresh.Store.RevokeUser / ports.UserRepository.BumpAuthzEpoch). |
|
keystest
Package keystest provides RSA / HMAC key fixtures for tests that exercise the auth subsystem (JWT issue/verify, HMAC service-token rings, OIDC stubs).
|
Package keystest provides RSA / HMAC key fixtures for tests that exercise the auth subsystem (JWT issue/verify, HMAC service-token rings, OIDC stubs). |
|
refresh
This file declares the two public error sentinels for refresh.Store.
|
This file declares the two public error sentinels for refresh.Store. |
|
refresh/memstore
Package memstore provides an in-memory implementation of refresh.Store.
|
Package memstore provides an in-memory implementation of refresh.Store. |
|
refresh/storetest
Package storetest provides a reusable contract test suite for refresh.Store implementations.
|
Package storetest provides a reusable contract test suite for refresh.Store implementations. |
|
session
Package session declares the typed-Go-heavy Protocol primitive that bundles session-related protocol decisions for accesscore (and any future cell that owns server-side session state).
|
Package session declares the typed-Go-heavy Protocol primitive that bundles session-related protocol decisions for accesscore (and any future cell that owns server-side session state). |
|
session/sessiontest
Package sessiontest provides test helpers for code that depends on runtime/auth/session.
|
Package sessiontest provides test helpers for code that depends on runtime/auth/session. |
|
session/storetest
Package storetest provides a reusable Protocol-driven contract test suite for session.Store implementations.
|
Package storetest provides a reusable Protocol-driven contract test suite for session.Store implementations. |
|
Package bootstrap orchestrates the full GoCell application lifecycle: config loading, assembly init/start, HTTP serving, event subscriptions, background workers, and graceful shutdown.
|
Package bootstrap orchestrates the full GoCell application lifecycle: config loading, assembly init/start, HTTP serving, event subscriptions, background workers, and graceful shutdown. |
|
Package capability defines GoCell capability providers: assembly-level shared infrastructure resources (postgres pool, redis client, ...) provisioned once by the composition root and injected into every consuming cell module.
|
Package capability defines GoCell capability providers: assembly-level shared infrastructure resources (postgres pool, redis client, ...) provisioned once by the composition root and injected into every consuming cell module. |
|
Package command wires kernel command workers (queue discovery + dispatch registry) into the runtime.
|
Package command wires kernel command workers (queue discovery + dispatch registry) into the runtime. |
|
Package composition provides the public Composition Root abstraction for GoCell assemblies.
|
Package composition provides the public Composition Root abstraction for GoCell assemblies. |
|
Package config provides a Config interface with YAML + environment variable loading.
|
Package config provides a Config interface with YAML + environment variable loading. |
|
Package crypto provides the KeyProvider abstraction and implementations for encrypting sensitive values at the repository boundary.
|
Package crypto provides the KeyProvider abstraction and implementations for encrypting sensitive values at the repository boundary. |
|
devtools
|
|
|
catalog
Package catalog — build.go: BuildDocument and all entity/filter helpers.
|
Package catalog — build.go: BuildDocument and all entity/filter helpers. |
|
Package distlock defines the provider-neutral distributed-lock contract for the GoCell runtime layer.
|
Package distlock defines the provider-neutral distributed-lock contract for the GoCell runtime layer. |
|
locktest
Package locktest provides a controllable in-memory Driver implementation and a conformance test suite for use in unit tests.
|
Package locktest provides a controllable in-memory Driver implementation and a conformance test suite for use in unit tests. |
|
Package eventbus provides an in-memory implementation of kernel/outbox Publisher and Subscriber for development and testing.
|
Package eventbus provides an in-memory implementation of kernel/outbox Publisher and Subscriber for development and testing. |
|
Package eventrouter provides a Router that separates event subscription declaration from execution.
|
Package eventrouter provides a Router that separates event subscription declaration from execution. |
|
interceptor
Package interceptor provides the gRPC unary server interceptor chain that aligns the gRPC transport with the existing HTTP middleware stack (runtime/http/middleware): RequestID, Tracing, Metrics, Auth, and Recovery.
|
Package interceptor provides the gRPC unary server interceptor chain that aligns the gRPC transport with the existing HTTP middleware stack (runtime/http/middleware): RequestID, Tracing, Metrics, Auth, and Recovery. |
|
http
|
|
|
cellmw
Package cellmw provides reusable RouteHandler wrappers for use in cell slice handlers.
|
Package cellmw provides reusable RouteHandler wrappers for use in cell slice handlers. |
|
devtools
Package devtools provides framework-internal HTTP routes that expose project catalog metadata (cells, slices, contracts, journeys, assemblies, actors) plus optional cell-level and package-level dependency graphs to admin-authenticated clients.
|
Package devtools provides framework-internal HTTP routes that expose project catalog metadata (cells, slices, contracts, journeys, assemblies, actors) plus optional cell-level and package-level dependency graphs to admin-authenticated clients. |
|
health
Package health provides /healthz (liveness) and /readyz (readiness) HTTP endpoints.
|
Package health provides /healthz (liveness) and /readyz (readiness) HTTP endpoints. |
|
health/healthtest
Package healthtest provides shared test helpers for packages that need to assert on the slog channel-d verbose breakdown emitted by runtime/http/health.Handler.
|
Package healthtest provides shared test helpers for packages that need to assert on the slog channel-d verbose breakdown emitted by runtime/http/health.Handler. |
|
health/probequery
Package probequery parses query parameters that gate health-probe verbose output.
|
Package probequery parses query parameters that gate health-probe verbose output. |
|
healthtest
Package healthtest provides test-only helpers for probe authors writing against the runtime/http/health API.
|
Package healthtest provides test-only helpers for probe authors writing against the runtime/http/health API. |
|
idempotency
Package idempotency provides HTTP-layer idempotency primitives for GoCell.
|
Package idempotency provides HTTP-layer idempotency primitives for GoCell. |
|
idempotency/idempotencytest
Package idempotencytest provides a reusable conformance suite for implementations of idemhttp.Store.
|
Package idempotencytest provides a reusable conformance suite for implementations of idemhttp.Store. |
|
middleware
Package middleware provides chi-compatible HTTP middleware for GoCell applications.
|
Package middleware provides chi-compatible HTTP middleware for GoCell applications. |
|
router
Package router provides a chi-based HTTP router that implements kernel/cell.RouteMux with default middleware and automatic health/metrics endpoint registration.
|
Package router provides a chi-based HTTP router that implements kernel/cell.RouteMux with default middleware and automatic health/metrics endpoint registration. |
|
schemavalidate
Package schemavalidate provides JSON Schema validation for generated HTTP handlers.
|
Package schemavalidate provides JSON Schema validation for generated HTTP handlers. |
|
tlsutil
Package tlsutil builds server-side TLS configurations for GoCell HTTP listeners.
|
Package tlsutil builds server-side TLS configurations for GoCell HTTP listeners. |
|
internal
|
|
|
authtest
Package authtest provides test-only auth Policy helpers for runtime middleware behavior tests.
|
Package authtest provides test-only auth Policy helpers for runtime middleware behavior tests. |
|
contractbuild
Package contractbuild is the sole sanctioned runtime-side construction funnel for framework-owned kernel/contractspec.ContractSpec values.
|
Package contractbuild is the sole sanctioned runtime-side construction funnel for framework-owned kernel/contractspec.ContractSpec values. |
|
Package lifecycle provides a runtime read-surface over the maturity lifecycle (kernel/cellvocab.CellLifecycle) of the cells composing a running assembly.
|
Package lifecycle provides a runtime read-surface over the maturity lifecycle (kernel/cellvocab.CellLifecycle) of the cells composing a running assembly. |
|
observability
|
|
|
healthz
Package healthz provides the default in-memory kernel/healthz.Aggregator implementation for GoCell.
|
Package healthz provides the default in-memory kernel/healthz.Aggregator implementation for GoCell. |
|
healthz/healthztest
Package healthztest provides shared test helpers for kernel/healthz.Aggregator implementations.
|
Package healthztest provides shared test helpers for kernel/healthz.Aggregator implementations. |
|
logging
Package logging provides a slog.Handler that enriches log records with trace_id, span_id, request_id, correlation_id, and cell_id from the request context.
|
Package logging provides a slog.Handler that enriches log records with trace_id, span_id, request_id, correlation_id, and cell_id from the request context. |
|
metrics
Package metrics provides HTTP request instrumentation interfaces and an in-memory implementation.
|
Package metrics provides HTTP request instrumentation interfaces and an in-memory implementation. |
|
metrics/metricstest
Package metricstest provides a shared conformance suite for implementations of metrics.Collector.
|
Package metricstest provides a shared conformance suite for implementations of metrics.Collector. |
|
tracingtest
Package tracingtest provides an in-process, stdlib-only Tracer fixture for tests.
|
Package tracingtest provides an in-process, stdlib-only Tracer fixture for tests. |
|
Package outbox provides the runtime-layer Store interface and relay worker for transactional outbox delivery.
|
Package outbox provides the runtime-layer Store interface and relay worker for transactional outbox delivery. |
|
outboxtest
Package outboxtest provides a public in-memory Store implementation and a Store conformance test suite for use in unit tests.
|
Package outboxtest provides a public in-memory Store implementation and a Store conformance test suite for use in unit tests. |
|
Package saga (see doc.go for the package narrative) is the runtime engine that drives saga instances forward.
|
Package saga (see doc.go for the package narrative) is the runtime engine that drives saga instances forward. |
|
executor
Package executor provides the step-level execution engine for saga instances.
|
Package executor provides the step-level execution engine for saga instances. |
|
internal/sagalog
Package sagalog centralizes the per-instance saga log attribute set.
|
Package sagalog centralizes the per-instance saga log attribute set. |
|
Package shutdown provides graceful shutdown support by listening for SIGINT/SIGTERM signals with a configurable timeout and ordered teardown.
|
Package shutdown provides graceful shutdown support by listening for SIGINT/SIGTERM signals with a configurable timeout and ordered teardown. |
|
state
|
|
|
cas
Package cas provides a typed-Go-heavy Protocol primitive for compare-and-swap (CAS) optimistic concurrency control.
|
Package cas provides a typed-Go-heavy Protocol primitive for compare-and-swap (CAS) optimistic concurrency control. |
|
Package webhook implements the inbound-webhook receiver runtime for GoCell.
|
Package webhook implements the inbound-webhook receiver runtime for GoCell. |
|
dispatch
Package dispatch wires outbound-webhook dispatchers into the event router.
|
Package dispatch wires outbound-webhook dispatchers into the event router. |
|
Package websocket provides a Hub-based WebSocket connection manager with signal-first broadcasting, ping/pong health checks, and graceful shutdown.
|
Package websocket provides a Hub-based WebSocket connection manager with signal-first broadcasting, ping/pong health checks, and graceful shutdown. |
|
Package worker provides a Worker interface and WorkerGroup for managing concurrent background workers with graceful lifecycle control.
|
Package worker provides a Worker interface and WorkerGroup for managing concurrent background workers with graceful lifecycle control. |
Click to show internal directories.
Click to hide internal directories.