Coder Social home page Coder Social logo

154650362 / webservertools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scliangx/webservertools

0.0 0.0 0.0 261 KB

基于go语言gin框架常用的组件搭建而成的web脚手架,开箱即用,更加专注于业务开发

Go 98.87% Makefile 0.69% Dockerfile 0.44%

webservertools's Introduction

webServerTools

基于go语言gin框架常用的组件搭建而成的web脚手架,开箱即用,专注于业务开发

目录详细信息

   ├─apps                       程序入口
   ├─common                     常用的项目公共代码
   │  ├─error                   项目全局错误信息
   │  ├─global                  项目全局参数
   │  ├─logger                  项目日志
   │  └─response                项目统一响应
   ├─config                     项目配置
   ├─deploy                     项目部署文件
   ├─http_server                业务处理
   │  ├─controllers             控制层
   │  ├─manager                 实际处理业务层
   │  ├─models                  数据库模型
   │  └─routes                  服务路由
   ├─internal                   项目服务核心组件
   │  ├─db                      数据库组件
   │  ├─elasticsearch           es组件相关实现
   │  ├─grpc                    grpc相关案例
   │  ├─kafka                   kafka消息队列组件
   │  ├─mongodb                 mongodb组件
   │  ├─redis                   redis组件
   │  └─sessions                session实现
   ├─middlewares                中间件
   ├─proto                      proto文件存放目录
   └─utils                      常用工具函数

 request -> apps -> router -> controller -> manager -> controller -> response

run app:

go run apps/main.go web-server --config ./config.yaml
-------------文中有许多借鉴于别人的blog进行集成的的地方,不足之处多指教-------------------
-------------文中有许多借鉴于别人的blog进行集成的的地方,不足之处多指教-------------------
-------------文中有许多借鉴于别人的blog进行集成的的地方,不足之处多指教-------------------

webservertools's People

Contributors

scliangx 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.