Fără Descriere

ruanshudong 465332a9c9 Merge branch 'release/2.4' 3 ani în urmă
.github d142fa3a8f update auto action 4 ani în urmă
cmake 7a6f1d2d9e Merge commit '152b960' into release/2.4 3 ani în urmă
docs 46e5ba6f15 update readme 4 ani în urmă
docs-en 2255edba3a move doc to global doc 4 ani în urmă
examples 152b960e42 fix epoll memory leak in windows 3 ani în urmă
servant 7a6f1d2d9e Merge commit '152b960' into release/2.4 3 ani în urmă
test_deprecated 5c90bd38b9 compiler on windows succ 4 ani în urmă
tools d2a82d0be9 fix tc_encoder crash bug 3 ani în urmă
unittest @ 7f7fbc523e 476e1ca8d3 update servant 4 ani în urmă
util 465332a9c9 Merge branch 'release/2.4' 3 ani în urmă
.gitmodules 22693bdf1b add unit testcase for tarscpp 5 ani în urmă
CMakeLists.txt 6d5f517be7 support http1, change file name same to taf 4 ani în urmă
Changelist.md 251ec33f07 update changelist 3 ani în urmă
Contributing.md cc02fc8ce6 Create Contributing.md 4 ani în urmă
LICENSE 9f1e1da221 Create LICENSE 4 ani în urmă
README.md aa97998533 fix readme 4 ani în urmă
README.zh.md aa97998533 fix readme 4 ani în urmă

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