0

Github GitHub - xinliangnote/go-gin-api: 基于 Gin 进行模块化设计的 API 框架,封...

 3 years ago
source link: https://github.com/xinliangnote/go-gin-api
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

go-gin-api 是基于 Gin 进行模块化设计的 API 框架,封装了常用的功能,使用简单,致力于进行快速的业务研发,同时增加了更多限制,约束项目组开发成员,规避混乱无序及自由随意的编码。

供参考学习,线上使用请谨慎!

集成组件:

  1. 支持 rate 接口限流
  2. 支持 panic 异常时邮件通知
  3. 支持 cors 接口跨域
  4. 支持 Prometheus 指标记录
  5. 支持 Swagger 接口文档生成
  6. 支持 GraphQL 查询语言
  7. 支持 trace 项目内部链路追踪
  8. 支持 pprof 性能剖析
  9. 支持 jwt 接口鉴权
  10. 支持 errno 统一定义错误码
  11. 支持 zap 日志收集
  12. 支持 viper 配置文件解析
  13. 支持 gorm 数据库组件
  14. 支持 go-redis 组件
  15. 支持 RESTful API 返回值规范
  16. 支持 gormgen、handlergen 代码生成工具
  17. 支持 web 界面,使用的 Light Year Admin 模板

go-gin-api 文档由以下几个主要部分组成:

地址:https://www.yuque.com/xinliangnote/go-gin-api/ngc3x5

查看 Jaeger 链路追踪代码,请查看 v1.0版,文档点这里 jaeger.md

Special Thanks

@koketama

Learning together


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK