GRPC: set up..
get the grpc source file..
1 git clone https://github.com/grpc/grpc 2 git submodule update --init --recursive 3 cd third-party/protobuf 4 ./autogen.sh #this step consist of a step of curl getting gmock, might failed.. advice is to use thunder to download in advance.. for more info, see this file.. 5 ./configure --prefix=/usr 6 make 7 make install 8 ldconfig 9 export PKG_CONFIG_PATH=/lib/pkgconfig/ 10 cd ../.. && vim Makefile 11 make --prefix=/usr 12 make install
compile the helloworld example.. is easy.. the most important is to write the server/client side .go files and one message/rpc .proto file.
Anyone is permitted to copy/use the contents and codes from this blog.
Sansna is not going to guarantee anything, Sansna will not take any responsibility of any results after using these codes/contents.