go-gin-api

command module
v0.0.0-...-2a8ca26 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: MIT Imports: 11 Imported by: 0

README

关于

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

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

集成组件:

  1. 支持 rate 接口限流
  2. 支持 panic 异常时邮件通知
  3. 支持 cors 接口跨域
  4. 支持 Prometheus 指标记录
  5. 支持 Swagger 接口文档生成
  6. 支持 GraphQL 查询语言
  7. 支持 trace 项目内部链路追踪
  8. 支持 pprof 性能剖析
  9. 支持 errno 统一定义错误码
  10. 支持 zap 日志收集
  11. 支持 viper 配置文件解析
  12. 支持 gorm 数据库组件
  13. 支持 go-redis 组件
  14. 支持 RESTful API 返回值规范
  15. 支持 生成数据表 CURD、控制器方法 等代码生成器
  16. 支持 cron 定时任务,在后台可界面配置
  17. 支持 websocket 实时通讯,在后台有界面演示
  18. 支持 web 界面,使用的 Light Year Admin 模板

文档索引

其他

查看 Jaeger 链路追踪 Demo 代码,请查看 v1.0 版 ,链接地址:http://127.0.0.1:9000/jaeger_test

调用的其他服务端 Demo 代码为 https://github.com/imlida/go-jaeger-demo

联系作者

联系作者

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
mysqlmd/mysql
* @Author: lida lidaemail@qq.com * @LastEditors: lida lidaemail@qq.com
* @Author: lida lidaemail@qq.com * @LastEditors: lida lidaemail@qq.com
* @Author: lida lidaemail@qq.com * @LastEditors: lida lidaemail@qq.com
* @Author: lida lidaemail@qq.com * @LastEditors: lida lidaemail@qq.com
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag
internal
api/admin
* @Author: Your Name you@example.com * @LastEditors: Your Name you@example.com
* @Author: Your Name you@example.com * @LastEditors: Your Name you@example.com
api/tool
* @Author: lida lidaemail@qq.com * @LastEditors: lida lidaemail@qq.com
* @Author: lida lidaemail@qq.com * @LastEditors: lida lidaemail@qq.com
render/generator
* @Author: lida lidaemail@qq.com * @LastEditors: lida lidaemail@qq.com
* @Author: lida lidaemail@qq.com * @LastEditors: lida lidaemail@qq.com
render/upgrade
* @Author: lida lidaemail@qq.com * @LastEditors: lida lidaemail@qq.com
* @Author: lida lidaemail@qq.com * @LastEditors: lida lidaemail@qq.com
repository/cron
* @Author: lida lidaemail@qq.com * @LastEditors: lida lidaemail@qq.com
* @Author: lida lidaemail@qq.com * @LastEditors: lida lidaemail@qq.com
pkg
aes
ddm
env
rsa

Jump to

Keyboard shortcuts

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