codemp/proto/buffer.proto
frelodev 3738f7beb4 Cleanup of proto
Co-authored-by: alemi.dev <me@alemi.dev>
2024-02-06 00:09:35 +01:00

15 lines
No EOL
313 B
Protocol Buffer

syntax = "proto2";
package buffer;
// handle buffer changes, keep in sync users
service Buffer {
// attach to a buffer and receive operations
rpc Attach (stream Operation) returns (stream Operation);
}
message Operation {
required bytes data = 1;
optional string user = 2;
optional string path = 3;
}