directory
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Feb 23, 2026
License: MIT
Opens a new window with license information.
README
¶
cherry框架的通用组件库
- 基于
github.com/robfig/cron/v3进行封装成组件
- 性能良好
- 策划配表读取管理组件
- 可基于本地配置文件的方式加载
- 可基于redis数据的方式加载
- 可基于接口抽像自定义数据源加载
- 支持自定义文件格式读取,目前已实现
JSON格式读取
- 支持缓存热更新
- 可自定义类型检测
- 可根据
go-linq进行数据集合的条件查询
- 集成
gin组件,实现http server功能
- 自定义
controller,增加PreInit()、Init()、Stop()初始周期的管理
- 增加几个常用的
middleware组件
- gin zap
- recover with zap
- cors跨域
- max connect限流
- 封装了GET/POST方式获取各种数据类型的函数
- 集成
gorm组件,实现mysql的数据库访问
- 支持多个mysql数据库配置和管理
- 集成
mongo-driver驱动
- 支持多个mongodb数据库配置和管理
链接
Directories
¶
|
|
|
|
|
|
|
|
|
Package cgin from https://github.com/gin-contrib/zap/
|
Package cgin from https://github.com/gin-contrib/zap/ |
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.