Twirp services in Ruby
Перейти к файлу
darronschall 86cc035618
Run updated code generation on the updated sample
2022-10-17 16:43:19 -04:00
.github/workflows Adds running test on GitHub actions 2022-06-07 11:18:24 -04:00
example Run updated code generation on the updated sample 2022-10-17 16:43:19 -04:00
internal/gen/typemap protoc-gen-twirp_ruby: obey `ruby_package` 2019-04-30 10:43:16 +02:00
lib Update service.rb 2022-10-17 13:32:25 -07:00
protoc-gen-twirp_ruby Only append "Service" suffix when services are not properly named. 2022-10-17 16:43:18 -04:00
test Don't consider query string as part of method name 2021-12-02 14:01:39 -08:00
vendor Support proto3 field presence 2022-04-20 12:26:36 -07:00
.gitignore Removes Gemfile.lock 2022-06-07 10:44:33 -04:00
CONTRIBUTING.md Fix minor typo in CONTRIBUTING.md 2021-06-16 15:23:20 -05:00
Gemfile Edit gemspec and add initial files 2018-02-04 18:26:55 -08:00
LICENSE add LICENSE 2018-02-06 14:49:06 -08:00
README.md Adds test status to the README 2022-06-07 11:21:27 -04:00
Rakefile Add default rake task to run all tests at once 2018-04-08 19:27:28 -07:00
go.mod Update Protobuff version 2022-08-22 14:53:52 -07:00
go.sum Support proto3 field presence 2022-04-20 12:26:36 -07:00
twirp.gemspec Allow Faraday 2.x 2022-06-07 11:33:57 -04:00

README.md

Twirp-Ruby

Run Tests

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

On the wiki.

Contributing

On the CONTRIBUTING file.