Skip to content

Commit 6ec28a6

Browse files
committed
litrpc: add cli directives to Proxy service
1 parent 16a9c7f commit 6ec28a6

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

litrpc/proxy.proto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,15 @@ package litrpc;
55
option go_package = "github.com/lightninglabs/lightning-terminal/litrpc";
66

77
service Proxy {
8+
/* litcli: `getinfo`
9+
GetInfo returns general information concerning the LiTd node.
10+
*/
811
rpc GetInfo (GetInfoRequest) returns (GetInfoResponse);
12+
13+
/* litcli: `stop`
14+
StopDaemon will send a shutdown request to the interrupt handler,
15+
triggering a graceful shutdown of the daemon.
16+
*/
917
rpc StopDaemon (StopDaemonRequest) returns (StopDaemonResponse);
1018
}
1119

litrpc/proxy_grpc.pb.go

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)