Skip to content

lujiahaoo/go-study-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-study-api

使用中间件前先在bootstrap/app.go文件下按它的范围注册,然后在app/routers/router.go文件下对应不同的范围调用中间件组

路由方法直接添加在 app/routers/api.go文件下,根据路由前缀来填

  • 基于Docker运行(dockerfile)

  • Use go modules to init the project

  • When start, stop or restart the application makes the console output some logo

  • Validation of the request parameter

    • model validate
  • 路由中间件

    • JWT
    • 日志消息
    • Exception
    • Tracing(链路追踪)
  • 自定义消息预警

    • mail (gomail)
    • wechat
    • SMS
  • 消息队列(RabbitMQ)

  • Mysql读写分离

  • 负载均衡

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages