2023-11-27 09:36:02 +00:00
|
|
|
|
syntax = "proto3"; //版本声明,使用v3版本
|
|
|
|
|
|
|
|
|
|
package basic;
|
|
|
|
|
|
|
|
|
|
option go_package = ".;service";
|
|
|
|
|
import "google/protobuf/any.proto";
|
|
|
|
|
import "google/protobuf/struct.proto";
|
|
|
|
|
|
|
|
|
|
// 定义请求消息类型.
|
|
|
|
|
message Request {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// golang使用一个map返回, 使用这个response
|
|
|
|
|
message Response {
|
2023-12-05 07:02:13 +00:00
|
|
|
|
google.protobuf.Value data=1;
|
2023-11-27 09:36:02 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|