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 {
|
2021-09-18 16:05:20 +08:00
|
|
|
Comm commends = 1;
|
2021-08-31 23:30:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
message CommendResponse {
|
|
|
|
repeated string result = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
service CommServer {
|
|
|
|
rpc Commend (CommendRequest) returns (CommendResponse);
|
|
|
|
}
|
|
|
|
|
|
|
|
|