You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
411 B
Protocol Buffer
20 lines
411 B
Protocol Buffer
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);
|
|
}
|
|
|
|
service FileSend{
|
|
rpc DiffCopy(stream BytesMessage) returns (stream BytesMessage);
|
|
}
|
|
|
|
|
|
// BytesMessage contains a chunk of byte data
|
|
message BytesMessage{
|
|
bytes data = 1;
|
|
} |