The Elixir implementation of gRPC.
WARNING: This is unstable now. Be careful to use it in production!
The package can be installed as:
- Add
grpc
to your list of dependencies inmix.exs
:
```elixir
def deps do
[{:grpc, github: "tony612/grpc-elixir"}]
end
```
- Ensure
grpc
is started before your application:
```elixir
def application do
[applications: [:grpc]]
end
```
Generate Elixir code from proto file
$ mix do deps.get, compile
$ mix grpc.gen priv/protos/helloworld.proto --out lib/
Define your server, then run the server and client.
Check examples/helloworld for more details