1 Star 0 Fork 35

limeng / ServiceBox

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

Service Box

 _____   _____  __    __ 
|  _  \ /  _  \ \ \  / / 
| |_| | | | | |  \ \/ /  
|  _  { | | | |   }  {   
| |_| | | |_| |  / /\ \  
|_____/ \_____/ /_/  \_\ 

Service Box(服务容器)是一个C++(std=C++17)语言编写的组件容器系统,组件以DLL/SO的方式被容器加载运行,容器做为组件的底层支撑提供必要的跨平台的功能,同时组件可以将通过“注册”将自己暴露在由多个服务容器组成的分布式集群,不同容器内的组件通过“获取”来建立和其他组件的联系,但不需要关心服务提供方在哪个服务容器内,部署在哪台物理/虚拟硬件上,组件间的通信采用RPC(Remote Procedure Call),用户不需要关心协议,只需要获取组件的代理接口并调用方法即可。用户的设计以组件接口为最小单元,不同的组件间交互只需要阅读对方的组件接口说明,有利于功能间互调用的解耦,更能促使开发者从设计角度去考虑团队合作。

  1. 安装
  2. 发布
  3. 编写C++服务
    1. C++ API文档
    2. 异步调用说明
    3. 同步调用说明
    4. C++服务的协程化调用
  4. 编写Lua服务
    1. Lua API文档
    2. 同步调用说明
  5. Web控制台
    默认容器启动后,使用chrome访问
    http://localhost:6889/root, 参考Web控制台
  6. 如何阅读代码
  7. 配置
  8. 代理模式启动
  9. C# RPC(客户端)
MIT License Copyright (c) 2020 dennis-kk 7208454@qq.com 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.

简介

微服务,服务容器,服务发现,服务热更新,RPC通信,协程开发,脚本开发 展开 收起
C++
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C++
1
https://gitee.com/tczhilian/service-box.git
git@gitee.com:tczhilian/service-box.git
tczhilian
service-box
ServiceBox
master

搜索帮助