smegmesh/pkg/grpc/syncservice.proto
2024-01-05 12:59:13 +00:00

18 lines
318 B
Protocol Buffer

syntax = "proto3";
package syncservice;
option go_package = "pkg/rpc";
service SyncService {
rpc SyncMesh(stream SyncMeshRequest) returns (stream SyncMeshReply) {}
}
message SyncMeshRequest {
string meshId = 1;
bytes changes = 2;
}
message SyncMeshReply {
bool success = 1;
bytes changes = 2;
}