runtime/

directory
v1.8.0 Latest Latest
Warning

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

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

README

Runtime packages

runtime contains public runtime APIs that generated pzero services may import directly. Each capability uses a direct package path, such as runtime/migrator. Service CLI helpers that wrap those APIs, such as runtime/migrator/cmd, stay in a sibling package so cobra and other CLI concerns do not pollute the runtime import graph. These packages are part of the service compatibility boundary and should evolve with backward compatibility in mind.

New service-facing runtime capabilities, such as tracing, authentication, middleware, messaging, configuration, and health checks, should prefer this layer. Existing core packages remain unchanged and can be evaluated individually instead of being moved as part of an unrelated change.

Generator and CLI implementation code remains under cmd/pzero.

Directories

Path Synopsis
Package migrator provides PostgreSQL migration execution APIs backed by pgx.
Package migrator provides PostgreSQL migration execution APIs backed by pgx.
cmd

Jump to

Keyboard shortcuts

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