/grpc-test

grpc test

Primary LanguagePHPApache License 2.0Apache-2.0

grpc-test

grpc test

wechaty/wechaty#1986

https://github.com/njpatel/grpcc

protoc --proto_path=./protos \
--php_out=./src/php \
--grpc_out=./src/php \
--plugin=protoc-gen-grpc=./bins/opt/grpc_php_plugin \
./protos/helloworld.proto
git clone https://github.com/grpc/grpc grpc-master
cd grpc-master/examples/node
npm install
cd dynamic_codegen
node greeter_server.js

swoole

cd src/swoole/tools
./generator \
--proto_path=./../src/Grpc/Proto \
--php_out=./../src/Grpc \
--grpc_out=./../src/Grpc \
--plugin=protoc-gen-grpc=/usr/local/bin/grpc_php_plugin \
./../src/Grpc/Proto