- Unary RPC (normal request response)
- Bidirectional streaming RPC
- Client streaming RPC
- Server streaming RPC
go install google.golang.org/protobuf/cmd/[email protected]
go install google.golang.org/grpc/cmd/[email protected]
export PATH="$PATH:$(go env GOPATH)/bin"
<!-- to generate proto file -->
make s-proto
<!-- start server -->
make ss
<!-- start client -->
make sc
<!-- to generate proto file -->
make b-proto
<!-- start server -->
make bs
<!-- start client -->
make bc
<!-- to generate proto file -->
make c-proto
<!-- start server -->
make cs
<!-- start client -->
make cc
<!-- to generate proto file -->
make ss-proto
<!-- start server -->
make sss
<!-- start client -->
make ssc