Directories
¶
| Path | Synopsis |
|---|---|
|
Package amqpcluster connects to a RabbitMQ cluster rather than a single broker: publishers and subscribers hold connections to every configured node, fail over when one goes away, and reconnect in the background.
|
Package amqpcluster connects to a RabbitMQ cluster rather than a single broker: publishers and subscribers hold connections to every configured node, fail over when one goes away, and reconnect in the background. |
|
Package appkit is the service runtime: one constructor that wires the infrastructure a service would otherwise hand-roll in main() — logging, database cluster, event publisher/subscriber, audit client, event signing, health checks, the standard middleware stack and graceful shutdown.
|
Package appkit is the service runtime: one constructor that wires the infrastructure a service would otherwise hand-roll in main() — logging, database cluster, event publisher/subscriber, audit client, event signing, health checks, the standard middleware stack and graceful shutdown. |
|
Package audit emits audit events onto the event bus.
|
Package audit emits audit events onto the event bus. |
|
Package auth authenticates HTTP requests and carries the caller's identity on the request context.
|
Package auth authenticates HTTP requests and carries the caller's identity on the request context. |
|
Package buildinfo carries the version metadata a binary was built with.
|
Package buildinfo carries the version metadata a binary was built with. |
|
chix
module
|
|
|
Package debug gates Go's runtime profiling endpoints behind an environment switch, so profiling is available while investigating a service and absent in normal operation.
|
Package debug gates Go's runtime profiling endpoints behind an environment switch, so profiling is available while investigating a service and absent in normal operation. |
|
Package env provides typed helpers for reading configuration from environment variables with defaults.
|
Package env provides typed helpers for reading configuration from environment variables with defaults. |
|
Package eventbus is the generic RabbitMQ event system: the BaseEvent envelope, topic publisher/subscriber with signing, fanout broadcast, per-type dispatch with real outcome metrics, and DLQ support.
|
Package eventbus is the generic RabbitMQ event system: the BaseEvent envelope, topic publisher/subscriber with signing, fanout broadcast, per-type dispatch with real outcome metrics, and DLQ support. |
|
ginx
module
|
|
|
Package health reports whether a service and its dependencies are working.
|
Package health reports whether a service and its dependencies are working. |
|
Package httpclient is an HTTP client for calling other services.
|
Package httpclient is an HTTP client for calling other services. |
|
Package httpx provides small, framework-neutral helpers for JSON HTTP handlers: a standard error envelope, safe error responses that never echo internal error strings to clients, bounded JSON decoding, and clamped pagination parsing.
|
Package httpx provides small, framework-neutral helpers for JSON HTTP handlers: a standard error envelope, safe error responses that never echo internal error strings to clients, bounded JSON decoding, and clamped pagination parsing. |
|
Package lifecycle manages the goroutines and servers a process owns, so shutdown is orderly rather than abrupt.
|
Package lifecycle manages the goroutines and servers a process owns, so shutdown is orderly rather than abrupt. |
|
Package logging provides log/slog handlers with an established human-readable line format:
|
Package logging provides log/slog handlers with an established human-readable line format: |
|
Package middleware provides HTTP middleware as func(http.Handler) http.Handler, the form the standard library and every stdlib-compatible router understand.
|
Package middleware provides HTTP middleware as func(http.Handler) http.Handler, the form the standard library and every stdlib-compatible router understand. |
|
Package pgcluster connects to a PostgreSQL cluster over database/sql.
|
Package pgcluster connects to a PostgreSQL cluster over database/sql. |
|
Package rediscluster connects to a set of Redis nodes with health checking and load balancing across the healthy ones.
|
Package rediscluster connects to a set of Redis nodes with health checking and load balancing across the healthy ones. |
|
Package secrets resolves secrets by logical path, independently of where they are stored.
|
Package secrets resolves secrets by logical path, independently of where they are stored. |
|
testkit
module
|
Click to show internal directories.
Click to hide internal directories.