wheat-cache/protobuf/storage.proto

25 lines
346 B
Protocol Buffer

syntax = "proto3";
option go_package = "pkg/proto";
import "stringx.proto";
message Comm {
oneof comm_option {
StringxComm string_comm = 1;
}
}
message CommendRequest {
Comm commends = 1;
}
message CommendResponse {
repeated string result = 1;
}
service CommServer {
rpc Commend (CommendRequest) returns (CommendResponse);
}