1 Star 1 Fork 0

ZYaller / rpcx-service

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

rpcx-service

一个基于RPCX(Go语言的快、易用却功能强大RPC服务治理框架)搭建的RPC服务框架。

特性:简单易用、超快高效、功能强大、服务发现、服务治理、服务分层、版本控制、路由标签注册。

框架目录介绍

  • bin 脚本目录
  • define 变量或结构体定义目录
  • env 环境定义配置目录
  • logic 逻辑层目录
  • model 数据层目录
  • restful 服务路由注册目录
  • service 服务层目录
  • table 数据表层目录
  • vendor 项目依赖目录
  • go.mod 包版本定义
  • main.go 程序入口
  • service.json 服务配置文件

服务如何跑起来?

  1. 执行 ./bin/bootstrap.sh 命令,下载部署命令工具;
  2. 执行 ./bin/produce.sh help 命令,查看部署命令工具帮助文档,执行对应子命令,会有相应信息输出:
    • 2.1. 执行 ./bin/produce.sh sync 命令,同步服务vendor资源
    • 2.2. 执行 ./bin/produce.sh build local 命令,可以编译当前代码生成服务程序
    • 2.3. 执行 ./bin/produce.sh reload 命令,实现平滑重启服务
    • 2.4. 执行 ./bin/produce.sh status 命令,可以查看服务状态
    • 2.5. 执行 ./bin/produce.sh quit 命令,可以平滑停止当前服务

参考文献

MIT License Copyright (c) 2021 ZYallers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

一个基于RPCX(Go语言的快、易用却功能强大RPC服务治理框架)搭建的RPC服务框架。 特性:简单易用、超快高效、功能强大、服务发现、服务治理、服务分层、版本控制、路由标签注册。 展开 收起
Go 等 2 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Go
1
https://gitee.com/zyb_icanplay/rpcx-service.git
git@gitee.com:zyb_icanplay/rpcx-service.git
zyb_icanplay
rpcx-service
rpcx-service
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891