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 |
|
sqlitedriver
本文件把 SQLite 方言作为可选能力注册到 framework database.Manager。
|
本文件把 SQLite 方言作为可选能力注册到 framework database.Manager。 |
|
Package di provides dependency injection related functionality
|
Package di provides dependency injection related functionality |
|
Package errcode 提供 boundary 工具,让 service 入口用 defer 给返回值补 origin stack + operation。
|
Package errcode 提供 boundary 工具,让 service 入口用 defer 给返回值补 origin stack + operation。 |
|
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 请求/响应的通用类型 |
|
本文件实现 JWT session 的框架级业务编排。
|
本文件实现 JWT session 的框架级业务编排。 |
|
本文件实现按 key 分桶的并发许可限制(channel semaphore)。
|
本文件实现按 key 分桶的并发许可限制(channel semaphore)。 |
|
src/pkg/logger/config.go
|
src/pkg/logger/config.go |
|
本文件提供 Cookie 会话下的 CSRF 双提交保护。
|
本文件提供 Cookie 会话下的 CSRF 双提交保护。 |
|
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.