Directories
¶
| Path | Synopsis |
|---|---|
|
Package application provides a generic application startup framework BaseApplication is the core abstraction for all application types (HTTP/CLI/Cron)
|
Package application provides a generic application startup framework BaseApplication is the core abstraction for all application types (HTTP/CLI/Cron) |
|
Package breaker provides circuit breaker functionality
|
Package breaker provides circuit breaker functionality |
|
Package cache provides a caching orchestration layer implementation Supports multi-storage backend, event-driven failure, centralized configuration management
|
Package cache provides a caching orchestration layer implementation Supports multi-storage backend, event-driven failure, centralized configuration management |
|
Package component provides interface definitions for components This is the lowest level package, which does not depend on any business packages to avoid circular dependencies.
|
Package component provides interface definitions for components This is the lowest level package, which does not depend on any business packages to avoid circular dependencies. |
|
Provides database management and Repository infrastructure
|
Provides database management and Repository infrastructure |
|
Package di provides dependency injection support based on samber/do
|
Package di provides dependency injection support based on samber/do |
|
Package errcode provides the basic types and functionalities for hierarchical error codes Error code format: MMBBBB (MM = module code 2 digits, B BBBB = business code 4 digits)
|
Package errcode provides the basic types and functionalities for hierarchical error codes Error code format: MMBBBB (MM = module code 2 digits, B BBBB = business code 4 digits) |
|
Provides unified health check capabilities
|
Provides unified health check capabilities |
|
Package httpx provides unified handling of HTTP requests/responses
|
Package httpx provides unified handling of HTTP requests/responses |
|
types
Package types 提供 HTTP 请求/响应的通用类型
|
Package types 提供 HTTP 请求/响应的通用类型 |
|
Package limiter provides rate limiting functionality
|
Package limiter provides rate limiting functionality |
|
src/pkg/logger/config.go
|
src/pkg/logger/config.go |
|
The package swagger provides capabilities for generating and displaying Swagger/OpenAPI documentation Based on swaggo/swag for documentation generation driven by comments
|
The package swagger provides capabilities for generating and displaying Swagger/OpenAPI documentation Based on swaggo/swag for documentation generation driven by comments |
|
Package validator provides unified parameter validation and error conversion
|
Package validator provides unified parameter validation and error conversion |
Click to show internal directories.
Click to hide internal directories.