Skip to content

9illes/grpc-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GRPC Stack

Go Reference

Sandbox project for discovering GRPC

TODO

  • Use a separate container for the build
  • Optimize container size
  • Plug a GUI (Giu)

Usage

Help

go run . -h

Start server (default localhost:8080)

go run . serve [-i=hostname] [-p port]

Push int to the stack

go run . push -n 123

Pop int from the stack

go run . pop

Setup

  1. Install protoc from the package manager of your system.
dnf install -y protobuf-compiler
  1. 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@latest

Generate the go files from .proto files.

make protoc

Run tests

make test

Build the project (binary : build/stack)

make build

Create container

make container

Start container

make run

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published