As an API project, qinguoyi/osproxy-grpc has picked up 56 stars on GitHub (Go). osproxy的rpc实现,grpc-gateway支持rpc和api同端口,支持Docker一键部署
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
# 设置goproxy
Linux: go env -w GOPROXY=https://goproxy.cn,direct
Windows: $env:GOPROXY = "https://goproxy.cn"
# 拉取依赖
go mod tidy
go get google.golang.org/protobuf
go get google.golang.org/grpc@latest
go install github.com/golang/protobuf/protoc-gen-go
go get google.golang.org/grpc/cmd/protoc-gen-go-grpc
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc
go get github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@v2
go install github.com/go-bindata/go-bindata/...
go install github.com/elazarl/go-bindata-assetfs/...
# 生成api文档
protoc -I=proto --go_out=proto --go_opt=paths=source_relative --go-grpc_out=proto --go-grpc_opt=paths=source_relative --grpc-gateway_out=proto --grpc-gateway_opt=paths=source_relative .\proto\storage.proto
go-bindata --nocompress -pkg swagger -o docs/swagger/data.go docs/swagger-ui/...
protoc -I=proto -I. -I./proto/google/api --swagger_out=logtostderr=true:.\proto .\proto\storage.proto
https://127.0.0.1:8888/swagger-ui
服务测试
服务部署验证
# 修改服务地址和上传文件
baseUrl := "https://127.0.0.1:8888"
uploadFilePath := "./xxx.jpg"
go run test/rpctest.go
go run test/httptest.go
How active is development on qinguoyi/osproxy-grpc?
The most recent commit recorded on qinguoyi/osproxy-grpc was 2.6 years ago, based on the GitHub push timestamp. The repository has 7 forks — one of the better signals of community interest.
How many stars does qinguoyi/osproxy-grpc have?
qinguoyi/osproxy-grpc has 56 GitHub stars — refresh the page for the live number, or check github.com/qinguoyi/osproxy-grpc. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is qinguoyi/osproxy-grpc open source?
Yes — qinguoyi/osproxy-grpc ships under the Apache-2.0 license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/qinguoyi/osproxy-grpc.
What else is in the API space?
qinguoyi/osproxy-grpc is tracked by TopGit under the API category, alongside 5 GitHub-tagged topics. Trending and Topics pages list peer repositories of comparable stars and language.
What is qinguoyi/osproxy-grpc?
qinguoyi/osproxy-grpc (qinguoyi/osproxy-grpc) is a Go project on GitHub. From the project's own README: osproxy的rpc实现,grpc-gateway支持rpc和api同端口,支持Docker一键部署
What language is qinguoyi/osproxy-grpc written in?
qinguoyi/osproxy-grpc is written primarily in Go. GitHub's language field is based on the largest share of bytes in the default branch.
What license does qinguoyi/osproxy-grpc use?
qinguoyi/osproxy-grpc is released under the Apache-2.0 license. Always verify the LICENSE file directly on GitHub for the authoritative terms — license strings can be edited out of sync with a project's actual stance.
Where do I read more about qinguoyi/osproxy-grpc?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/qinguoyi/osproxy-grpc is the definitive source.
Read full README in the tab above.
Still deciding about osproxy-grpc?
One click hands the question to an AI along with this page — see what it says about osproxy-grpc.