15 lines
245 B
Protocol Buffer
15 lines
245 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
package moby.upload.v1;
|
||
|
|
||
|
option go_package = "upload";
|
||
|
|
||
|
service Upload {
|
||
|
rpc Pull(stream BytesMessage) returns (stream BytesMessage);
|
||
|
}
|
||
|
|
||
|
// BytesMessage contains a chunk of byte data
|
||
|
message BytesMessage{
|
||
|
bytes data = 1;
|
||
|
}
|