Skip to content

Commit

Permalink
Update fileupload example for connect-es
Browse files Browse the repository at this point in the history
  • Loading branch information
edaniels committed Sep 22, 2024
1 parent a7b37ec commit 751d5a3
Show file tree
Hide file tree
Showing 9 changed files with 196 additions and 194 deletions.
24 changes: 12 additions & 12 deletions proto/rpc/examples/fileupload/v1/fileupload.pb.go

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

45 changes: 23 additions & 22 deletions proto/rpc/examples/fileupload/v1/fileupload.pb.gw.go

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

4 changes: 1 addition & 3 deletions proto/rpc/examples/fileupload/v1/fileupload.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,5 @@ message UploadFileResponse {
}

service FileUploadService {
// Due to an issue described by https://github.com/improbable-eng/ts-protoc-gen/pull/264
// we use a streaming response but only expect one response.
rpc UploadFile(stream UploadFileRequest) returns (stream UploadFileResponse) {}
rpc UploadFile(stream UploadFileRequest) returns (UploadFileResponse) {}
}
97 changes: 37 additions & 60 deletions proto/rpc/examples/fileupload/v1/fileupload_grpc.pb.go

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

Loading

0 comments on commit 751d5a3

Please sign in to comment.