mirror of
https://github.com/go-kratos/kratos.git
synced 2026-05-22 10:15:24 +02:00
23a7f15541
* add form for http codec
19 lines
474 B
Protocol Buffer
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;
|
|
} |