forked from p93542168/wheat-cache
25 lines
355 B
Protocol Buffer
25 lines
355 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
option go_package = "pkg/proto";
|
||
|
import "stringx.proto";
|
||
|
|
||
|
message Comm {
|
||
|
oneof comm_option {
|
||
|
StringxComm string_comm = 1;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
message CommendRequest {
|
||
|
repeated Comm commends = 1;
|
||
|
}
|
||
|
|
||
|
message CommendResponse {
|
||
|
repeated string result = 1;
|
||
|
}
|
||
|
|
||
|
service CommServer {
|
||
|
rpc Commend (CommendRequest) returns (CommendResponse);
|
||
|
}
|
||
|
|
||
|
|