You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
474 B
19 lines
474 B
4 years ago
|
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;
|
||
|
}
|