guisehn / grpc-poc-protofiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GRPC POC Protofiles

Acts as a central repository for defining the protofiles, and also the auto-generated repositories for multiple languages.

All .proto files are inside the protofiles folder.

Whenever one of them is changed, we need to run ./compile.sh to re-generate the source code for each language (stored inside protoc/*).

Servers/clients can point to their language-specific folder inside protoc (e.g. using Gemfile or mix.exs) to have access to the gRPC supporting auto-generated code.

Installing deps

  1. protoc: brew install protobuf
  2. protoc-gen-elixir: mix escript.install hex protobuf and make sure you add it to your path

Compiling

./compile.sh will generate the GRPC code for each language (at the moment we only have elixir)

Implementations

About


Languages

Language:Elixir 97.2%Language:Shell 2.8%