mirror of
https://github.com/tim-beatham/smegmesh.git
synced 2025-08-16 08:07:57 +02:00
27-remove-client-grpc-endpoint
Removed a client's grpc endpoint value. Client's aren't publicly available so there is no need for a client's gRPC endpoint. Also changed a node ID's to their public key. A node id's public address is an issue for mobility of clients as their endpoint is subject to change
This commit is contained in:
@ -4,13 +4,13 @@ package rpctypes;
|
||||
option go_package = "pkg/rpc";
|
||||
|
||||
service MeshCtrlServer {
|
||||
rpc JoinMesh(JoinMeshRequest) returns (JoinMeshReply) {}
|
||||
rpc GetMesh(GetMeshRequest) returns (GetMeshReply) {}
|
||||
}
|
||||
|
||||
message JoinMeshRequest {
|
||||
string meshId = 2;
|
||||
message GetMeshRequest {
|
||||
string meshId = 1;
|
||||
}
|
||||
|
||||
message JoinMeshReply {
|
||||
bool success = 1;
|
||||
message GetMeshReply {
|
||||
bytes mesh = 1;
|
||||
}
|
Reference in New Issue
Block a user