mirror of
https://github.com/tim-beatham/smegmesh.git
synced 2024-12-13 18:11:25 +01:00
a55dadf088
- Neaten code
18 lines
318 B
Protocol Buffer
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;
|
|
} |