runtime/

directory
v0.0.0-...-1779528 Latest Latest
Warning

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

Go to latest
Published: May 11, 2026 License: MIT

Directories

Path Synopsis
audit
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.
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.
config
Package config is the production wiring entrypoint for runtime/auth components.
Package config is the production wiring entrypoint for runtime/auth components.
refresh
This file intentionally declares only one sentinel (ErrRejected).
This file intentionally declares only one sentinel (ErrRejected).
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/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 command wires kernel command workers into runtime lifecycle hooks.
Package command wires kernel command workers into runtime lifecycle hooks.
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.
http
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/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.
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.
observability
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.
tracing
Package tracing provides a Tracer interface and HTTP middleware for distributed tracing.
Package tracing provides a Tracer interface and HTTP middleware for distributed tracing.
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 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 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.

Jump to

Keyboard shortcuts

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