wheat-cache/protobuf/storage.proto

25 lines
355 B
Protocol Buffer
Raw Normal View History

2021-08-31 23:30:55 +08:00
syntax = "proto3";
2021-09-18 15:27:45 +08:00
option go_package = "pkg/proto";
import "stringx.proto";
2021-08-31 23:30:55 +08:00
message Comm {
2021-09-18 15:27:45 +08:00
oneof comm_option {
StringxComm string_comm = 1;
}
2021-08-31 23:30:55 +08:00
}
message CommendRequest {
repeated Comm commends = 1;
}
message CommendResponse {
repeated string result = 1;
}
service CommServer {
rpc Commend (CommendRequest) returns (CommendResponse);
}