added theConnDesc message to the grpc protocol

This commit is contained in:
2025-02-20 00:59:00 +09:00
parent 1c49023c37
commit c7b7bfd25f
8 changed files with 240 additions and 120 deletions

View File

@ -68,6 +68,10 @@ message PeerData {
bytes Data = 3;
};
message ConnDesc {
string Token = 1;
}
message ConnNotice {
string Text = 1;
}
@ -83,7 +87,8 @@ enum PACKET_KIND {
PEER_ABORTED = 7;
PEER_EOF = 8;
PEER_DATA = 9;
CONN_NOTICE = 10;
CONN_DESC = 11;
CONN_NOTICE = 12;
};
message Packet {
@ -93,6 +98,7 @@ message Packet {
RouteDesc Route = 2;
PeerDesc Peer = 3;
PeerData Data = 4;
ConnNotice Notice = 5;
ConnDesc Conn = 5;
ConnNotice Notice = 6;
};
}