test_grpc_restful

command module
v0.0.0-...-8fb510d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2020 License: MIT Imports: 7 Imported by: 0

README

  • ./gen/XX 目录需要手工创建,protoc不自动创建;
python ./service/server.py   # 启动服务,端口 9090
python ./server/client.py  # 测试请求是否成功

go run ./proxy.go  # 启动 RESTful 代理

FAQ

  1. 碰到报错 ImportError: No module named google.api
pip install --upgrade gcloud
pip install --upgrade google-api-python-client

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
egs
helloworld/gen/go/pb
Package pb is a reverse proxy.
Package pb is a reverse proxy.
proto
gen/go/your/service/v1
Package v1 is a reverse proxy.
Package v1 is a reverse proxy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL