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

trpc-go 是否方便的支持静态文件和grpc-web #183

Closed
ninesunqian opened this issue Jun 18, 2024 · 2 comments
Closed

trpc-go 是否方便的支持静态文件和grpc-web #183

ninesunqian opened this issue Jun 18, 2024 · 2 comments
Labels
question Further information is requested

Comments

@ninesunqian
Copy link

请教一下,trpc-go 是否方便的支持静态文件和grpc-web ?
我看了几乎所有的文档,没有明确指出。example里也没有。
我的需求是一个单体服务和浏览器作为客户端。如果不支持 grpc-web,支持原生的grpc 也可以。

@ninesunqian ninesunqian added the question Further information is requested label Jun 18, 2024
@WineChord
Copy link
Contributor

WineChord commented Jun 19, 2024

Use this, write a HTTP handler that can serve file.

@ninesunqian
Copy link
Author

多谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants