protoc-gen-twirp_ruby

command module
v0.0.0-...-5aa43bb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2018 License: MIT Imports: 14 Imported by: 0

README

Twirp RPC Ruby Client Generator

Install

go get -u github.com/gaffneyc/protoc-gen-twirp_ruby

Usage

Using the Haberdasher example:

protoc --proto_path=$GOPATH/src:. --twirp_ruby_out=. --ruby_out=. path/to/service.proto
require "service_pb"
require "service_twirp"

client = Haberdasher::HaberdasherClient.new("http://localhost:8081")
puts client.make_hat(Haberdasher::Size.new(inches: 5)).inspect

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL