mirror of
https://github.com/hexedtech/codemp.git
synced 2024-12-24 05:44:52 +01:00
15 lines
331 B
Protocol Buffer
15 lines
331 B
Protocol Buffer
|
syntax = "proto2";
|
||
|
|
||
|
package codemp.buffer_service;
|
||
|
|
||
|
// 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;
|
||
|
}
|