Directories
¶
| Path | Synopsis |
|---|---|
|
Package boot provides application bootstrapping: config loading, logger, database connections, Redis, and graceful lifecycle management.
|
Package boot provides application bootstrapping: config loading, logger, database connections, Redis, and graceful lifecycle management. |
|
example
|
|
|
cmd
command
|
|
|
Package grpcx provides gRPC client utilities with automatic reconnection, traceId propagation, and health checking.
|
Package grpcx provides gRPC client utilities with automatic reconnection, traceId propagation, and health checking. |
|
Package log provides a unified logging interface with traceId support.
|
Package log provides a unified logging interface with traceId support. |
|
Package metrics provides Prometheus metrics collection for HTTP and gRPC services.
|
Package metrics provides Prometheus metrics collection for HTTP and gRPC services. |
|
Package mid provides common Gin middleware: panic recovery, CORS, JWT authentication, rate limiting, traceId, and gRPC interceptors.
|
Package mid provides common Gin middleware: panic recovery, CORS, JWT authentication, rate limiting, traceId, and gRPC interceptors. |
|
Package notify provides a simple HTTP-based event notifier.
|
Package notify provides a simple HTTP-based event notifier. |
|
Package registry provides service registration and discovery via etcd.
|
Package registry provides service registration and discovery via etcd. |
|
Package resp provides a unified HTTP response format for Gin-based APIs.
|
Package resp provides a unified HTTP response format for Gin-based APIs. |
|
Package store provides base types for the data access layer.
|
Package store provides base types for the data access layer. |
Click to show internal directories.
Click to hide internal directories.