About
This is a simple example showing gRPC golang service running on Cloud Run.
Requirements
Optional
The following is needed for building your own grpc but already done for this repo example.
Golang protoc commandline tool: protoc
Setup and usage
Build Docker image
$ make build
Push Docker image
$ make push
Deploy Cloud Run service
$ make deploy
Test using local client
$ go run client/client.go $(make print-host) hi
Expected response where 'hi' is repeated twice to prove processing by the server:
2019/12/01 14:19:04 payload:"hihi"