Giter VIP home page Giter VIP logo

powerless520 / go-gin-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xinliangnote/go-gin-api

0.0 0.0 0.0 4.17 MB

基于 Gin 进行模块化设计的 API 框架,封装了常用功能,使用简单,致力于进行快速的业务研发。比如,支持 cors 跨域、jwt 签名验证、zap 日志收集、panic 异常捕获、trace 链路追踪、prometheus 监控指标、swagger 文档生成、viper 配置文件解析、gorm 数据库组件、gormgen 代码生成工具、graphql 查询语言、errno 统一定义错误码、gRPC 的使用、cron 定时任务 等等。

Home Page: https://www.yuque.com/xinliangnote/go-gin-api/ngc3x5

License: MIT License

Shell 0.15% JavaScript 9.98% Go 59.77% HTML 29.83% Batchfile 0.16% Dockerfile 0.11%

go-gin-api's Introduction

关于

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:9999/jaeger_test

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

联系作者

联系作者

go-gin-api's People

Contributors

xinliangnote avatar zhoumengkang avatar anserme avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.