internal/

directory
v1.4.28 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: MIT

Directories

Path Synopsis
Package cache 缓存层 提供 Redis 和本地缓存的统一接口,支持分布式锁、防击穿、防穿透等功能
Package cache 缓存层 提供 Redis 和本地缓存的统一接口,支持分布式锁、防击穿、防穿透等功能
Package consts 定义项目通用常量
Package consts 定义项目通用常量
Package cron 提供定时任务管理功能
Package cron 提供定时任务管理功能
tasks
Package tasks 包含定时任务实现
Package tasks 包含定时任务实现
Package dao is the data access object, the code for database operation is unified here.
Package dao is the data access object, the code for database operation is unified here.
Package database 数据库层 提供 MySQL、Redis、RabbitMQ、Elasticsearch 等数据源的初始化和连接管理
Package database 数据库层 提供 MySQL、Redis、RabbitMQ、Elasticsearch 等数据源的初始化和连接管理
Package ecode is the package that unifies the definition of http error codes or grpc error codes here.
Package ecode is the package that unifies the definition of http error codes or grpc error codes here.
Package handler is a package of http request processing business logic.
Package handler is a package of http request processing business logic.
Package model contains the data models used in the application.
Package model contains the data models used in the application.
mq
rabbitmq
Package mq 提供 RabbitMQ 消息队列的通用消费者接口和注册管理功能。
Package mq 提供 RabbitMQ 消息队列的通用消费者接口和注册管理功能。
rabbitmq/consumers
Package consumers 提供应用程序的 RabbitMQ 消息消费者。
Package consumers 提供应用程序的 RabbitMQ 消息消费者。
Package routers 路由层 提供 HTTP 路由配置、自定义响应处理、中间件注册等功能
Package routers 路由层 提供 HTTP 路由配置、自定义响应处理、中间件注册等功能
Package rpcclient is the rpc client package, used to connect to grpc server, rich plugin support by default, such as service discovery, load balancing, link tracking and so on.
Package rpcclient is the rpc client package, used to connect to grpc server, rich plugin support by default, such as service discovery, load balancing, link tracking and so on.
Package server is a package that holds the http or grpc service.
Package server is a package that holds the http or grpc service.
Package service A grpc server-side or client-side package that handles business logic.
Package service A grpc server-side or client-side package that handles business logic.
Package types define the structure of request parameters and return results in this package
Package types define the structure of request parameters and return results in this package

Jump to

Keyboard shortcuts

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