Documentation
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package call provides a resilient HTTP client with retry, circuit breaker, and timeout support using a composable builder pattern.
|
Package call provides a resilient HTTP client with retry, circuit breaker, and timeout support using a composable builder pattern. |
|
cmd
|
|
|
demo-shutdown
command
Command demo-shutdown verifies that lifecycle.Run handles SIGTERM correctly, cancels Contexts, and drains gracefully.
|
Command demo-shutdown verifies that lifecycle.Run handles SIGTERM correctly, cancels Contexts, and drains gracefully. |
|
Package config provides a generic, reflection-based configuration loader that populates structs from environment variables using struct tags.
|
Package config provides a generic, reflection-based configuration loader that populates structs from environment variables using struct tags. |
|
examples
|
|
|
01-cli
command
Example 01-cli demonstrates a simple CLI tool using config + logz.
|
Example 01-cli demonstrates a simple CLI tool using config + logz. |
|
02-service
command
Example 02-service demonstrates a reference gRPC service using config + logz + lifecycle + grpckit + health.
|
Example 02-service demonstrates a reference gRPC service using config + logz + lifecycle + grpckit + health. |
|
03-client
command
Example 03-client demonstrates the call package with retries and circuit breaking.
|
Example 03-client demonstrates the call package with retries and circuit breaking. |
|
Package grpckit provides gRPC server utilities including standard interceptors for logging, panic recovery, and health-check registration.
|
Package grpckit provides gRPC server utilities including standard interceptors for logging, panic recovery, and health-check registration. |
|
Package health provides composable health checks with parallel execution and a standard HTTP handler that returns structured JSON results.
|
Package health provides composable health checks with parallel execution and a standard HTTP handler that returns structured JSON results. |
|
Package httpkit provides standard HTTP middleware and response utilities.
|
Package httpkit provides standard HTTP middleware and response utilities. |
|
Package lifecycle provides a minimal orchestration primitive for running concurrent components that share a single context for cancellation and graceful shutdown via OS signals.
|
Package lifecycle provides a minimal orchestration primitive for running concurrent components that share a single context for cancellation and graceful shutdown via OS signals. |
|
Package logz provides structured JSON logging with trace ID propagation.
|
Package logz provides structured JSON logging with trace ID propagation. |
|
Package testkit provides lightweight test helpers for chassis-go services.
|
Package testkit provides lightweight test helpers for chassis-go services. |
Click to show internal directories.
Click to hide internal directories.