1
0
mirror of https://github.com/go-kratos/kratos.git synced 2026-05-22 10:15:24 +02:00
Files
kratos/internal/complex/complex.proto
T

19 lines
473 B
Protocol Buffer
Raw Normal View History

2021-07-08 13:05:21 +08:00
syntax = "proto3";
2021-08-28 22:39:51 +08:00
option go_package = "github.com/go-kratos/kratos/cmd/protoc-gen-go-http/internal/encoding/complex/;complex";
2021-07-08 13:05:21 +08:00
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;
}