grpc
Contents
Brief
Components
google/protobuf
- github.com/google/protobuf // protocol buffers
mkdir -p ~/dev/github.com/google // or ~/dev/github.com/protocolbufffers
cd ~/dev/github.com/google
git clone https://github.com/google/protobuf // same as https://github.com/protocolbuffers/protobuf
git checkout v3.7.0 // always use release tag
cd protobuf
./autogensh // may have to install autotools-dev, dh-autoreconf
./configure
make check // check-local, check-am, check-recursive may fail
make // works anyway
sudo make install // installs in /usr/local/include/google/protobuf
/usr/local/include/google/protobuf /usr/local/bin/protoc /usr/local/lib/ ├── libprotobuf.a ├── libprotobuf.la ├── libprotobuf-lite.a ├── libprotobuf-lite.la ├── libprotoc.a ├── libprotoc.la
- github.com/golang/protobuf // Go support for protobuf
- google.golang.org/grpc // Go implementation of gRPC
Theory
Debug
GRPC_GO_LOG_VERBOSITY_LEVEL=99 GRPC_GO_LOG_SEVERITY_LEVEL=info
Gotchas
References
envoyproxy grpc-web opencensus github.com/fullstackdev/grpcurl