SkillAgentSearch skills...

Tinyrpc

A very simple rpc framework for C++

Install / Use

/learn @guoqi/Tinyrpc
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

TinyRPC - a simple rpc framework for C++

Blueprint

  • Construct a simple generic network library
  • Support simple remote procedure call (RPC) as call a local procedure
  • Simple and easy to use and manage
  • Support self-defined IDL
  • Support service register and service dicovery

Example

$ cd example && mkdir build && cd buid
$ cmake ..
$ make

Dependences

Building

$ mkdir build && cd build
$ cmake ..
$ make

After that, there will be a static library named librpcsvr.a and librpccli.a in folder build and you could link yourself server code with it to get an executable file, which is the final rpc server composed of multiple servers and services.

Usage

See also example/rpcsvr

Related Skills

View on GitHub
GitHub Stars6
CategoryDevelopment
Updated1y ago
Forks4

Languages

C++

Security Score

70/100

Audited on Mar 17, 2025

No findings