mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-10 00:29:01 +02:00
16 lines
430 B
Protocol Buffer
16 lines
430 B
Protocol Buffer
syntax = "proto3";
|
|
option go_package = "github.com/go-kratos/kratos/cmd/protoc-gen-go-http/internal/testproto;testproto";
|
|
package testproto;
|
|
|
|
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"
|
|
};
|
|
}
|
|
}
|