Skip to content

Commit

Permalink
Merge pull request #21 from beautiful-store/221202
Browse files Browse the repository at this point in the history
#221202 url 추가
  • Loading branch information
chaoskwon authored Dec 2, 2022
2 parents 99efaa2 + 4ea6f99 commit b7e8016
Show file tree
Hide file tree
Showing 4 changed files with 226 additions and 23 deletions.
116 changes: 93 additions & 23 deletions test/stream/server.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

61 changes: 61 additions & 0 deletions test/stream/server.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions test/stream/server.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,21 @@ service StreamService {
get: "/test/stream/{file_name}"
};
}
rpc GetURL(GetURLRequest) returns (stream GetFileResponse) {
option (google.api.http) = {
get: "/test/stream"
};
}
}

message GetFileRequest {
string file_name = 1;
}

message GetURLRequest {
string url = 1;
}

message GetFileResponse {
bytes content = 1;
}
63 changes: 63 additions & 0 deletions test/stream/server_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b7e8016

Please sign in to comment.