Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
server
command
|
|
|
examples
|
|
|
full
command
Full example demonstrating comprehensive CQI usage with all infrastructure packages.
|
Full example demonstrating comprehensive CQI usage with all infrastructure packages. |
|
httpclient
command
HTTP client example demonstrating CQI HTTP client usage with retry, rate limiting, circuit breaker, and comprehensive middleware support.
|
HTTP client example demonstrating CQI HTTP client usage with retry, rate limiting, circuit breaker, and comprehensive middleware support. |
|
simple
command
Simple example demonstrating minimal CQI usage with config, logging, and database.
|
Simple example demonstrating minimal CQI usage with config, logging, and database. |
|
websocket
command
WebSocket client example demonstrating CQI WebSocket client usage with auto-reconnect, message handlers, and graceful shutdown.
|
WebSocket client example demonstrating CQI WebSocket client usage with auto-reconnect, message handlers, and graceful shutdown. |
|
pkg
|
|
|
auth
Package auth provides HTTP and gRPC authentication middleware with API key and JWT validation.
|
Package auth provides HTTP and gRPC authentication middleware with API key and JWT validation. |
|
bus
Package bus provides event bus functionality for publish/subscribe messaging with CQC protobuf events.
|
Package bus provides event bus functionality for publish/subscribe messaging with CQC protobuf events. |
|
cache
Package cache provides Redis caching with protobuf serialization for CQI infrastructure.
|
Package cache provides Redis caching with protobuf serialization for CQI infrastructure. |
|
config
Package config provides configuration management for CQI infrastructure components.
|
Package config provides configuration management for CQI infrastructure components. |
|
database
Package database provides PostgreSQL connection pooling with transaction management and health checks.
|
Package database provides PostgreSQL connection pooling with transaction management and health checks. |
|
errors
Package errors provides structured error types for the CQI infrastructure library.
|
Package errors provides structured error types for the CQI infrastructure library. |
|
health
Package health provides a health check framework for monitoring service and infrastructure component health.
|
Package health provides a health check framework for monitoring service and infrastructure component health. |
|
httpclient
Package httpclient provides an HTTP/REST client with retry, circuit breaker, rate limiting, and comprehensive middleware support for CQI infrastructure.
|
Package httpclient provides an HTTP/REST client with retry, circuit breaker, rate limiting, and comprehensive middleware support for CQI infrastructure. |
|
logging
Package logging provides structured logging with zerolog for trace context propagation.
|
Package logging provides structured logging with zerolog for trace context propagation. |
|
metrics
Package metrics provides Prometheus metrics collection with standardized naming conventions and automatic HTTP/gRPC middleware for observability.
|
Package metrics provides Prometheus metrics collection with standardized naming conventions and automatic HTTP/gRPC middleware for observability. |
|
registry
Package registry provides service discovery and registration capabilities.
|
Package registry provides service discovery and registration capabilities. |
|
retry
Package retry provides retry logic with exponential backoff for transient failures.
|
Package retry provides retry logic with exponential backoff for transient failures. |
|
runner
Package runner provides orchestration for managing multiple services with dependency handling, restart logic, and aggregate health checks.
|
Package runner provides orchestration for managing multiple services with dependency handling, restart logic, and aggregate health checks. |
|
service
Package service provides abstractions for microservice lifecycle management.
|
Package service provides abstractions for microservice lifecycle management. |
|
tracing
Package tracing provides OpenTelemetry distributed tracing with W3C trace context propagation.
|
Package tracing provides OpenTelemetry distributed tracing with W3C trace context propagation. |
Click to show internal directories.
Click to hide internal directories.