1
0
mirror of https://github.com/bumi/lnrpc synced 2025-06-26 00:10:26 +00:00
lnrpc/lib/grpc_services/watchtowerrpc/watchtower_services_pb.rb
Michael Bumann 404ed3b99e 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
2020-08-28 14:14:50 +02:00

29 lines
842 B
Ruby

# Generated by the protocol buffer compiler. DO NOT EDIT!
# Source: watchtowerrpc/watchtower.proto for package 'watchtowerrpc'
require 'grpc'
require 'watchtowerrpc/watchtower_pb'
module Watchtowerrpc
module Watchtower
# Watchtower is a service that grants access to the watchtower server
# functionality of the daemon.
class Service
include GRPC::GenericService
self.marshal_class_method = :encode
self.unmarshal_class_method = :decode
self.service_name = 'watchtowerrpc.Watchtower'
# lncli: tower info
# GetInfo returns general information concerning the companion watchtower
# including its public key and URIs where the server is currently
# listening for clients.
rpc :GetInfo, GetInfoRequest, GetInfoResponse
end
Stub = Service.rpc_stub_class
end
end