Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yg66
Copy link

@yg66 yg66 commented Jun 25, 2024

主要内容:

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

Copy link


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
Contributor

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
Contributor

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
Contributor

@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