Directories
ยถ
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
sling
command
|
|
|
platform
|
|
|
app
Package app provides the core runtime lifecycle harness for services.
|
Package app provides the core runtime lifecycle harness for services. |
|
config
Package config provides configuration loading, schema validation, fallback resolution, and automatic repair.
|
Package config provides configuration loading, schema validation, fallback resolution, and automatic repair. |
|
ctxerr
Package ctxerr allows storing and retrieving an error within a context.Context, enabling decoupled error reporting between handlers and middleware/interceptors.
|
Package ctxerr allows storing and retrieving an error within a context.Context, enabling decoupled error reporting between handlers and middleware/interceptors. |
|
grpcx
Package grpcx provides helpers for configuring, serving, and intercepting gRPC servers.
|
Package grpcx provides helpers for configuring, serving, and intercepting gRPC servers. |
|
jwt
Package jwt provides JWT signing, verification, and HTTP authentication middleware.
|
Package jwt provides JWT signing, verification, and HTTP authentication middleware. |
|
logger
Package logger provides structured logging with slog, tint-based human-readable output, and OpenTelemetry trace correlation.
|
Package logger provides structured logging with slog, tint-based human-readable output, and OpenTelemetry trace correlation. |
|
postgres
Package postgres provides PostgreSQL connection pool management with OpenTelemetry tracing, transaction orchestration (Unit of Work), and migration utilities.
|
Package postgres provides PostgreSQL connection pool management with OpenTelemetry tracing, transaction orchestration (Unit of Work), and migration utilities. |
|
redis
Package redis provides Redis client initialization with OpenTelemetry tracing and connection pool metrics.
|
Package redis provides Redis client initialization with OpenTelemetry tracing and connection pool metrics. |
|
run
Package run provides primitives for running concurrent components as a unified group.
|
Package run provides primitives for running concurrent components as a unified group. |
|
system
Package system aggregates platform-level configurations for services.
|
Package system aggregates platform-level configurations for services. |
|
telemetry
Package telemetry provides OpenTelemetry tracing, metrics, and Prometheus exporter setup.
|
Package telemetry provides OpenTelemetry tracing, metrics, and Prometheus exporter setup. |
|
Package template provides embedded project and service templates for the Sling CLI.
|
Package template provides embedded project and service templates for the Sling CLI. |
|
project/cmd/migrate
command
|
|
Click to show internal directories.
Click to hide internal directories.