Coder Social home page Coder Social logo

box's Introduction

Box

Todo

configx: 可配置多种配置源,如文件、etcd等。定义基本的配置文件格式,定义加载mysql、redis等组件的位置,实现bizConfig的追踪

launcher:配合configx,实现对各种组件和配置的自动加载,简化入口代码。优雅停机功能。

wire:配合开源的wire,实现各种组件的依赖注入和加载,减少手动组装的代码

components:以单例模式启动各种组件,如MySQL,Redis等。增加对各种组件的open telemetry监控

cachex:多级缓存。本地缓存可配置使用不同的开源库,中心缓存使用redis,为list和map等结构定义AutoFetch方法。增加防止缓存击穿、本地和中心缓存的强一致性等。

responsor: 各种情况下返回gin或grpc请求的方法合集。

middlewares:一些公共的中间件

proto生成器

gin

grpc

openapi

validate

其他生成器

gorm-gen.yaml

box's People

Contributors

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