Sandbox project for discovering GRPC
- Use a separate container for the build
- Optimize container size
- Plug a GUI (Giu)
Help
go run . -hStart server (default localhost:8080)
go run . serve [-i=hostname] [-p port]Push int to the stack
go run . push -n 123Pop int from the stack
go run . pop- Install
protocfrom the package manager of your system.
dnf install -y protobuf-compiler- Install
protoc-gen-go.
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
go install google.golang.org/protobuf/cmd/protoc-gen-go@latestGenerate the go files from .proto files.
make protocRun tests
make testBuild the project (binary : build/stack)
make buildCreate container
make containerStart container
make run