samples for generic gRPC server in golang.
Without generated golang server/client from protobuf file, implements gRPC server/client.
.
└── unary_sample
├── client - generic client of helloworld gRPC
├── helloworld - helloworld protobuf file
└── server - generic server of helloworld gRPC
Based on https://github.com/grpc/grpc-go/tree/master/examples/helloworld, this repository adds SayGoodbye RPC.
generate protobuf descriptor_set using following command
protoc --include_imports --descriptor_set_out=./unary_sample/helloworld/helloworld_descriptor.pb ./unary_sample/helloworld/hello_world.proto
go run unary_sample/server/server.go
go run unary_sample/client/client.go --name <name>