Bez popisu

ruanshudong 62dd04ec2c fix linux compiler bug, tc_port need <memory> před 2 roky
.github 65d1439bcf update .github/workflows/ccpp-linux.yml před 3 roky
cmake d3d1104cfd fix BuildTarsCpp.cmake GLOB_RECURSE source před 2 roky
docs f5fa1a011c fix doc README.md 404 před 3 roky
docs-en f5fa1a011c fix doc README.md 404 před 3 roky
examples 6b383550a5 add unitttest před 2 roky
servant ddd626632d ServantHandle.cpp open co in NET_THREAD_MERGE_HANDLES_CO & před 2 roky
tools a5b95cddfa fix tars2node add async in imp před 2 roky
unit-test ddd626632d ServantHandle.cpp open co in NET_THREAD_MERGE_HANDLES_CO & před 2 roky
util 62dd04ec2c fix linux compiler bug, tc_port need <memory> před 2 roky
.gitmodules 6b383550a5 add unitttest před 2 roky
CMakeLists.txt 5cc5cc4f3e unittest->unit-test před 2 roky
Changelist.md c6304ad1f9 update changelist před 2 roky
Contributing.md cc02fc8ce6 Create Contributing.md před 4 roky
LICENSE 9f1e1da221 Create LICENSE před 4 roky
README.md aa97998533 fix readme před 4 roky
README.zh.md aa97998533 fix readme před 4 roky

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