mirror of
https://github.com/go-kratos/kratos.git
synced 2026-05-22 10:15:24 +02:00
0dfab173f9
* fix:modify encoding test proto path * fix * fix * fix
18 lines
426 B
Protocol Buffer
18 lines
426 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package echo;
|
|
|
|
option go_package = "github.com/go-kratos/kratos/cmd/protoc-gen-go-http/internal/encoding/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"
|
|
};
|
|
}
|
|
}
|