pkg/

directory
v0.0.0-...-e083d15 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2026 License: MIT

Directories

Path Synopsis
Package config loads and validates application configuration from YAML files with environment-variable overrides.
Package config loads and validates application configuration from YAML files with environment-variable overrides.
Package errors defines sentinel errors and a structured AppError type used across the platform.
Package errors defines sentinel errors and a structured AppError type used across the platform.
Package grpc provides a lightweight JSON-over-TCP RPC framework for internal service-to-service communication.
Package grpc provides a lightweight JSON-over-TCP RPC framework for internal service-to-service communication.
Package health provides a concurrent health-check framework.
Package health provides a concurrent health-check framework.
Package kafka provides Kafka producer and consumer clients backed by segmentio/kafka-go.
Package kafka provides Kafka producer and consumer clients backed by segmentio/kafka-go.
Package logger configures the global slog logger and provides helpers to propagate request-scoped fields (such as request IDs) through context.
Package logger configures the global slog logger and provides helpers to propagate request-scoped fields (such as request IDs) through context.
Package metrics defines the Prometheus metric collectors used across the platform and exposes an HTTP handler for scraping.
Package metrics defines the Prometheus metric collectors used across the platform and exposes an HTTP handler for scraping.
Package middleware provides reusable HTTP middleware for request IDs, Prometheus metrics, and request timeouts.
Package middleware provides reusable HTTP middleware for request IDs, Prometheus metrics, and request timeouts.
Package postgres provides a thin wrapper around database/sql with connection-pool configuration, health-check support, and a transactional helper (InTx).
Package postgres provides a thin wrapper around database/sql with connection-pool configuration, health-check support, and a transactional helper (InTx).
Package proto defines the shared message types used for internal RPC communication between services in the Distributed Search & Analytics Platform.
Package proto defines the shared message types used for internal RPC communication between services in the Distributed Search & Analytics Platform.
Package redis provides a thin wrapper around go-redis/v9 with connection pooling, cache get/set/delete operations, and pattern-based key invalidation.
Package redis provides a thin wrapper around go-redis/v9 with connection pooling, cache get/set/delete operations, and pattern-based key invalidation.
Package resilience provides fault-tolerance primitives: a circuit breaker, exponential-backoff retry, and a context-based timeout wrapper.
Package resilience provides fault-tolerance primitives: a circuit breaker, exponential-backoff retry, and a context-based timeout wrapper.
Package tracing provides a lightweight span-based tracing system that propagates trace context through Go contexts.
Package tracing provides a lightweight span-based tracing system that propagates trace context through Go contexts.

Jump to

Keyboard shortcuts

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