2017-07-13 03:45:53 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package moby.filesync.v1;
|
|
|
|
|
|
|
|
option go_package = "filesync";
|
|
|
|
|
|
|
|
service FileSync{
|
|
|
|
rpc DiffCopy(stream BytesMessage) returns (stream BytesMessage);
|
|
|
|
rpc TarStream(stream BytesMessage) returns (stream BytesMessage);
|
|
|
|
}
|
|
|
|
|
2017-08-03 22:24:02 +00:00
|
|
|
service FileSend{
|
|
|
|
rpc DiffCopy(stream BytesMessage) returns (stream BytesMessage);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2017-07-13 03:45:53 +00:00
|
|
|
// BytesMessage contains a chunk of byte data
|
|
|
|
message BytesMessage{
|
|
|
|
bytes data = 1;
|
|
|
|
}
|