ruanshudong 6d5f517be7 support http1, change file name same to taf | 4 gadi atpakaļ | |
---|---|---|
.github | 4 gadi atpakaļ | |
cmake | 4 gadi atpakaļ | |
docs | 4 gadi atpakaļ | |
docs-en | 4 gadi atpakaļ | |
examples | 4 gadi atpakaļ | |
servant | 4 gadi atpakaļ | |
test_deprecated | 4 gadi atpakaļ | |
tools | 4 gadi atpakaļ | |
unittest @ 328272e6af | 4 gadi atpakaļ | |
util | 4 gadi atpakaļ | |
.gitmodules | 5 gadi atpakaļ | |
CMakeLists.txt | 4 gadi atpakaļ | |
README.md | 4 gadi atpakaļ | |
README.zh.md | 4 gadi atpakaļ |
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: | 2.8.8 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