1
0
mirror of https://github.com/go-kratos/kratos.git synced 2026-05-22 10:15:24 +02:00
Files
kratos/internal/testproto/complex/complex.proto
T
longxboy 23a7f15541 add form for codec (#1158)
* add form for http codec
2021-07-08 13:05:21 +08:00

19 lines
474 B
Protocol Buffer

syntax = "proto3";
option go_package = "github.com/go-kratos/kratos/cmd/protoc-gen-go-http/internal/testproto/complex/;complex";
package testproto;
// SimpleMessage represents a simple message sent to the Echo service.
message Complex {
// Id represents the message identifier.
int64 id = 1;
string no_one = 2 [json_name="numberOne"];
Simple simple = 3 [json_name="very_simple"];
repeated string simples = 4;
}
message Simple {
string component = 1;
}