wheat-cache/proto/storage/storage.proto

24 lines
348 B
Protocol Buffer

syntax = "proto3";
option go_package = "storage/proto";
message Comm {
string key = 1;
string Operation = 2;
repeated string Option = 3;
}
message CommendRequest {
repeated Comm commends = 1;
}
message CommendResponse {
repeated string result = 1;
}
service CommServer {
rpc Commend (CommendRequest) returns (CommendResponse);
}