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.
18 lines
427 B
18 lines
427 B
4 years ago
|
syntax = "proto3";
|
||
4 years ago
|
|
||
|
package echo;
|
||
|
|
||
|
option go_package = "github.com/go-kratos/kratos/cmd/protoc-gen-go-http/internal/testproto/echo;echo";
|
||
4 years ago
|
|
||
|
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"
|
||
|
};
|
||
|
}
|
||
|
}
|