Sen descrición

ruanshudong bac696a45f Fix: gtest, use fixed gtest %!s(int64=2) %!d(string=hai) anos
.github bd4c4ce919 Add: .github/workflows/gitee-sync.yml %!s(int64=2) %!d(string=hai) anos
cmake bac696a45f Fix: gtest, use fixed gtest %!s(int64=2) %!d(string=hai) anos
docs f5fa1a011c fix doc README.md 404 %!s(int64=3) %!d(string=hai) anos
docs-en f5fa1a011c fix doc README.md 404 %!s(int64=3) %!d(string=hai) anos
examples 2ea5a57498 Fix the problem that the core will be when the independent communicator %!s(int64=2) %!d(string=hai) anos
servant 1cc2d3884a bugfix makefile.tars %!s(int64=2) %!d(string=hai) anos
tools 17ad897e46 Add: tc_docker add exec, tc_logger thread use unique_ptr, tars2cpp %!s(int64=2) %!d(string=hai) anos
unit-test bac696a45f Fix: gtest, use fixed gtest %!s(int64=2) %!d(string=hai) anos
util 37e734b632 Optimize: change doProtocolAnalysis() call getBufferLength() to get buff size %!s(int64=2) %!d(string=hai) anos
.gitmodules f673e58c0d git->https %!s(int64=2) %!d(string=hai) anos
CMakeLists.txt 5cc5cc4f3e unittest->unit-test %!s(int64=2) %!d(string=hai) anos
Changelist-2.x.md 5973e2c58e add changelist %!s(int64=2) %!d(string=hai) anos
Changelist-3.x.md fa493bb7f0 update changelist v3.0.9 %!s(int64=2) %!d(string=hai) anos
Contributing.md cc02fc8ce6 Create Contributing.md %!s(int64=4) %!d(string=hai) anos
LICENSE 9f1e1da221 Create LICENSE %!s(int64=4) %!d(string=hai) anos
README.md aa97998533 fix readme %!s(int64=4) %!d(string=hai) anos
README.zh.md aa97998533 fix readme %!s(int64=4) %!d(string=hai) anos

README.md

点我查看中文版

This project is the source code of the Tars RPC framework C++ language.

Directory Features
servant Source code implementation of C++ language framework rpc
tools Source code implementation of C++ language framework IDL tool
util Source code implementation of C++ language framework basic tool library
examples Sample code for the C++ language framework, including: quick start examples, introduction to promise programming, examples of pressure test programs
unittest Unittest of tarscpp rpc framework base on GoogleTest test framework. You can download it as a git submodule using 'git submodule init unittest;git submodule update' command.
test_deprecated Test procedures for various parts of the C++ language framework, deprecated in current.
docs Document description
docs-en English document description

Dependent environment

Software version requirements
linux kernel: 2.6.18 and above
gcc: 4.1.2 and above glibc-devel
bison tool: 2.5 and above
flex tool: 2.5 and above
cmake: 3.2 and above
mysql: 4.1.17 and above

Compile and install

git clone https://github.com/TarsCloud/TarsCpp.git --recursive
cd TarsCpp
cmake .
make
make install

Detailed reference