# README
my-grcp-service
This is an example gRCP client-server project in Go.
Getting Started
- Install protoc
- Run protoc executable like:
protoc.exe --go_out=. --go-grpc_out=. .\roller\rollerService\service.proto
- Run unit tests
go test ./...
Build Locally
- Start server.
go run .\roller\roller_server\main.go
- Start client.
go run .\roller\roller_client\main.go
- While the server is running, use the client to send commands. The following keybinds exist:
- r :: rolls a number 0-100 against the server.
Locally Run Service with Docker
- Build the server.
docker build -t roller_server .
- Start server.
docker run -p 50051:50051 roller_server
- Start client.
go run .\roller\roller_client\main.go
# Packages
No description provided by the author