proto/service/basic.proto

20 lines
325 B
Protocol Buffer
Raw Normal View History

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 05:05:23 +00:00
bytes data=1;
2023-11-27 09:36:02 +00:00
}