Skip to content

fredriksvensson/grpc-elixir

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gRPC Elixir

The Elixir implementation of gRPC.

WARNING: This is unstable now. Be careful to use it in production!

Installation

The package can be installed as:

  1. Add grpc to your list of dependencies in mix.exs:
```elixir
def deps do
  [{:grpc, github: "tony612/grpc-elixir"}]
end
```
  1. Ensure grpc is started before your application:
```elixir
def application do
  [applications: [:grpc]]
end
```

Usage

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

About

The Elixir implementation of gRPC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 97.9%
  • Protocol Buffer 2.1%