feat: show version & local node (#318)

*  feat: version

Add display version information, incompatible with lower versions

* 🎈 perf: unknown

Unknown when there is no version number displayed

*  feat: Display local nodes

Display local nodes, incompatible with lower versions
This commit is contained in:
m1m1sha
2024-09-11 15:58:13 +08:00
committed by GitHub
parent 4342be29d7
commit 6ea3adcef8
10 changed files with 110 additions and 16 deletions

View File

@@ -76,6 +76,7 @@ message Route {
string hostname = 6;
StunInfo stun_info = 7;
string inst_id = 8;
string version = 9;
}
message NodeInfo {
@@ -87,6 +88,7 @@ message NodeInfo {
string inst_id = 6;
repeated string listeners = 7;
string config = 8;
string version = 9;
}
message ShowNodeInfoRequest {}