зеркало из https://github.com/arthurnn/twirp-ruby.git
c9c8b5ea9a
Run CI with different versions of Faraday |
||
---|---|---|
.github/workflows | ||
example | ||
gemfiles | ||
internal/gen/typemap | ||
lib | ||
protoc-gen-twirp_ruby | ||
test | ||
vendor | ||
.gitignore | ||
CONTRIBUTING.md | ||
Gemfile | ||
LICENSE | ||
README.md | ||
Rakefile | ||
go.mod | ||
go.sum | ||
twirp.gemspec |
README.md
Twirp-Ruby
Twirp is a protocol for routing and serialization of services defined in a .proto file, allowing easy implementation of RPC services with auto-generated clients in different languages.
The canonical implementation is in Golang. The Twirp-Ruby project is the official implementation in Ruby for both server and clients.
Install
Add gem "twirp"
to your Gemfile, or install with gem install twirp
.
To auto-generate Ruby code from a proto file, use the protoc
plugin and the --ruby_out
option (see Wiki page).
Documentation
Contributing
Releases and changes
See the releases page for latest information about released versions.