File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ syntax = "proto3" ;
2+
3+ package litrpc ;
4+
5+ option go_package = "github.com/lightninglabs/lightning-terminal/litrpc" ;
6+
7+ // The Status server can be used to query the state of various LiT sub-servers.
8+ service Status {
9+ rpc SubServerStatus (SubServerStatusReq ) returns (SubServerStatusResp );
10+ }
11+
12+ message SubServerStatusReq {
13+ }
14+
15+ message SubServerStatusResp {
16+ // A map of sub-server names to their status.
17+ map <string , SubServerStatus > sub_servers = 1 ;
18+ }
19+
20+ message SubServerStatus {
21+ // disabled is true if the sub-server is available in the LiT package but
22+ // has explicitly been disabled.
23+ bool disabled = 1 ;
24+
25+ // running is true if the sub-server is currently running.
26+ bool running = 2 ;
27+
28+ // error describes an error that might have resulted in the sub-server not
29+ // starting up properly.
30+ string error = 3 ;
31+ }
Original file line number Diff line number Diff line change @@ -53,4 +53,5 @@ curl ${TAPD_URL}/${TAPD_RELEASE_TAG}/taprpc/universerpc/universe.proto --create-
5353
5454curl ${LIT_URL} /${LIT_RELEASE_TAG} /litrpc/firewall.proto --create-dirs -o protos/lit/${LIT_RELEASE_TAG} /firewall.proto
5555curl ${LIT_URL} /${LIT_RELEASE_TAG} /litrpc/lit-sessions.proto --create-dirs -o protos/lit/${LIT_RELEASE_TAG} /lit-sessions.proto
56+ curl ${LIT_URL} /${LIT_RELEASE_TAG} /litrpc/lit-status.proto --create-dirs -o protos/lit/${LIT_RELEASE_TAG} /lit-status.proto
5657curl ${LIT_URL} /${LIT_RELEASE_TAG} /litrpc/lit-autopilot.proto --create-dirs -o protos/lit/${LIT_RELEASE_TAG} /lit-autopilot.proto
You can’t perform that action at this time.
0 commit comments