Coder Social home page Coder Social logo

fengjx / luchen Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 1.98 MB

基于go-kit二次封装的微服务框架。开箱即用,封装了工程实践中常用的组件和工具

Home Page: https://luchen.fun

License: MIT License

Makefile 0.23% Go 99.62% Shell 0.14% JavaScript 0.01%
go gokit grpc-server http-server microservice

luchen's Introduction

luchen 基于 go-kit 封装的微服务框架

luchen 是一个基于 go-kit 封装的微服务框架。秉承 go-kit 的分层设计**,同时集成了丰富的工程实践设计。它提供了一套完整的解决方案,旨在简化服务开发、提高开发效率,让开发者更专注于业务逻辑的实现。

无论是构建复杂的微服务系统还是简单的单体应用,luchen 都能满足你的需求。

开始这个项目的时候,我女儿刚出生,取名【路辰】,所以将项目名命名为luchen

特性

  • 快速开发: 封装了工程实践中常用的组件和工具,可以快速构建和部署服务。
  • 多协议支持: 支持 HTTP、gRPC 传输协议,适用于不同的场景和需求,轻松扩展更多协议支持,无需改动业务层代码。
  • 分层设计: 保留 go-kit 的分层设计**,包括端点(Endpoints)、传输(Transport)、服务(Service)等层次,保证了代码的可维护性和可扩展性。
  • 微服务支持: 使用 go-kit 实现微服务化架构,支持服务注册、发现、负载均衡、限流、熔断等功能。

快速体验

启动 helloworld 服务

$ cd _example/helloworld
$ go run main.go

请求服务接口

$ curl http://localhost:8080/say-hello?name=fjx
hello: fjx

示例

文档

详细的文档请查阅: https://luchen.fun

相关项目

  • lucky 基于luchen实现的快速开发平台-后端工程
  • lucky-web lucky前端工程
  • lc cli 工具
  • daox 数据库访问辅助类库

技术交流

加我微信拉你进群,请备注:luchen

版权声明

你可以自由使用本项目用于个人、商业用途及二次开发,但请注明源码出处。

luchen's People

Contributors

fengjx avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

luchen's Issues

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.