blob: 2d482129c2afa1dca6d4962951d2f26aebc63c58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
# Source: math.proto for package 'math'
require 'grpc'
require 'math'
module Math
module Math
# TODO: add proto service documentation here
class Service
include GRPC::GenericService
self.marshal_class_method = :encode
self.unmarshal_class_method = :decode
self.service_name = 'math.Math'
rpc :Div, DivArgs, DivReply
rpc :DivMany, stream(DivArgs), stream(DivReply)
rpc :Fib, FibArgs, stream(Num)
rpc :Sum, stream(Num), Num
end
Stub = Service.rpc_stub_class
end
end
|