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

18 lines
427 B
Protocol Buffer

syntax = "proto3";
package echo;
option go_package = "github.com/go-kratos/kratos/cmd/protoc-gen-go-http/internal/testproto/echo;echo";
import "google/api/annotations.proto";
import "google/api/httpbody.proto";
import "google/protobuf/empty.proto";
service StreamService {
rpc Download(google.protobuf.Empty) returns (stream google.api.HttpBody) {
option (google.api.http) = {
get : "/v1/example/download"
};
}
}