mirror of
https://github.com/bumi/lnrpc
synced 2026-02-16 08:07:50 +00:00
Add support for v0.11 GRPC services
This also refactors the client GRPC wrapper to dynamically load the request objects. All GRPC generated client files now live under lib/grpc_services
This commit is contained in:
18
lib/grpc_services/lnclipb/lncli_pb.rb
Normal file
18
lib/grpc_services/lnclipb/lncli_pb.rb
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: lnclipb/lncli.proto
|
||||
|
||||
require 'google/protobuf'
|
||||
|
||||
require 'verrpc/verrpc_pb'
|
||||
Google::Protobuf::DescriptorPool.generated_pool.build do
|
||||
add_file("lnclipb/lncli.proto", :syntax => :proto3) do
|
||||
add_message "lnclipb.VersionResponse" do
|
||||
optional :lncli, :message, 1, "verrpc.Version"
|
||||
optional :lnd, :message, 2, "verrpc.Version"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
module Lnclipb
|
||||
VersionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnclipb.VersionResponse").msgclass
|
||||
end
|
||||
Reference in New Issue
Block a user