Sen descrición

marklightning 43de9b6ad1 1. tars2cpp support tarsgateway; 2.AppProtocal add totalResponse for all protocal. %!s(int64=4) %!d(string=hai) anos
.github d142fa3a8f update auto action %!s(int64=4) %!d(string=hai) anos
cmake b7e9be5a5b tag v2.4.1 %!s(int64=4) %!d(string=hai) anos
docs 46e5ba6f15 update readme %!s(int64=4) %!d(string=hai) anos
docs-en 2255edba3a move doc to global doc %!s(int64=4) %!d(string=hai) anos
examples e642785516 add tc_http auto test %!s(int64=4) %!d(string=hai) anos
servant 43de9b6ad1 1. tars2cpp support tarsgateway; 2.AppProtocal add totalResponse for all protocal. %!s(int64=4) %!d(string=hai) anos
test_deprecated 5c90bd38b9 compiler on windows succ %!s(int64=4) %!d(string=hai) anos
tools 43de9b6ad1 1. tars2cpp support tarsgateway; 2.AppProtocal add totalResponse for all protocal. %!s(int64=4) %!d(string=hai) anos
unittest @ 328272e6af 970571dd28 update protocol %!s(int64=4) %!d(string=hai) anos
util e642785516 add tc_http auto test %!s(int64=4) %!d(string=hai) anos
.gitmodules 22693bdf1b add unit testcase for tarscpp %!s(int64=5) %!d(string=hai) anos
CMakeLists.txt 6d5f517be7 support http1, change file name same to taf %!s(int64=4) %!d(string=hai) anos
Changelist.md 22b6ce3559 update changelist %!s(int64=4) %!d(string=hai) anos
LICENSE.md affdc8c1c4 upload LICENSE.md %!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