https://github.com/slankdev/grpcc
C++ misc for gRPC
https://github.com/slankdev/grpcc
cxx11 grpc makefile
Last synced: 29 days ago
JSON representation
C++ misc for gRPC
- Host: GitHub
- URL: https://github.com/slankdev/grpcc
- Owner: slankdev
- License: mit
- Created: 2018-03-16T03:58:11.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-28T03:00:53.000Z (about 8 years ago)
- Last Synced: 2025-10-08T22:50:22.828Z (8 months ago)
- Topics: cxx11, grpc, makefile
- Language: Go
- Size: 258 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# libgrpcxx
Tiny build scripts and wrapper for using grpc in C
## Setup and Usage
```
// install grpc
$ sudo apt install build-essential autoconf libtool pkg-config libgflags-dev libgtest-dev clang libc++-dev
$ git clone https://github.com/grpc/grpc && cd grpc
$ git submodule update --init
$ make && sudo make install
// install proto-buf
$ cd grpc/third_party/protobuf
$ sudo make install
// clone and build libgrpcxx
$ git clone https://github.com/slankdev/grpcxx
$ cd grpcxx/libgrpcxx
$ make grpcbuild
$ make
// Best Sample for using this library is ``examples/grpc_manager``.
// running sample script (grpc_manager)
// install openconfigd before following
$ cd examples/grpc_manager
$ make
$ openconfigd &
$ ./a.out &
$ cli
```