grpc demo of sending notes between a server and client written in Go. With both the client and server running you will see messages being continuously passed back and forth between the server and the client.
Dev mode will automatically update the deployed resources any time a new change is saved:
skaffold dev
Run mode will start deploy the resources once.
skaffold run
To view the logs for the deployed resources:
skaffold run --tail
To have local port-forwarding setup to the deployed resources:
skaffold run --port-forward
Build the code in the Server directory then run it
Build the code in the Client directory then run it
- modify messaging.proto file
- Generate go code from .proto:
protoc messaging.proto --go_out=plugins=grpc:messaging