- Unary RPC (normal request response)
- Bidirectional streaming RPC
- Client streaming RPC
- Server streaming RPC
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2
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