Code Monkey home page Code Monkey logo

atomic's Introduction

atomic

my blog

项目介绍

该项目采用了微服务的模式,用了go-micro作为内部服务的框架,gin作为http api的框架,jaeger以及opentracing 作为链路追踪,mysql作为数据库,etcd作为注册中心。

整体架构

img.png

项目架构

img.png

atomic_api

该文件夹主要是存放对外开放的api,主要是通过gin实现,通过micro api网关请求,转发到该api服务,然后api转发到相应的内部服务

atomic_cmd

该文件夹主要是存放命令行操作以及启动服务的代码

atomic_client

该文件夹主要是测试服务能否被发现

atomic_proto

该文件夹主要是存放proto相关的文件

atomic_server

存放具体的业务逻辑代码,handler的实现,数据库操作都放在这里面

atomic_store

存放各种数据库的封装

internal

存放各种内部的一些操作 比如日志、链路追踪等等

atomic's People

Contributors

kotodian avatar

Watchers

James Cloos avatar  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.