Skip to content

[examples] 新增trpc stream方式的文件上传简单示例#184

Open
yg66 wants to merge 1 commit into
trpc-group:mainfrom
yg66:main
Open

[examples] 新增trpc stream方式的文件上传简单示例#184
yg66 wants to merge 1 commit into
trpc-group:mainfrom
yg66:main

Conversation

@yg66

@yg66 yg66 commented Jun 25, 2024

Copy link
Copy Markdown

主要内容:

  • 在examples目录下新增fileupload文件夹
  • fileupload文件夹内包含:server、client、proto、ReadME.md
  • 具体示例使用方式在ReadME.md中已经有提示
  • 该示例主要针对trpc对于stream流形式的文件上传编写的简单demo,供大家参考

@github-actions

Copy link
Copy Markdown


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


nil seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@@ -0,0 +1,45 @@
module github.com/trpc-group/trpc-go/examples/features/stream/client

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
module github.com/trpc-group/trpc-go/examples/features/stream/client
module trpc.group/trpc-go/trpc-go/examples/features/fileupload/client

@@ -0,0 +1,22 @@
# Fileupload
trpc-go 支持流式 RPC,通过流式 RPC,客户端和服务器可以建立连续连接,连续发送和接收数据,让服务器提供连续的响应。

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

README.md, not ReadME.md

@WineChord

Copy link
Copy Markdown
Collaborator

@yg66 Please sign CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants