Add web platform

This commit is contained in:
Nex
2018-10-31 15:31:46 +08:00
parent e402bf1ef2
commit e94f067e26
5 changed files with 29 additions and 1 deletions

View File

@@ -12,6 +12,12 @@
go get -u google.golang.org/grpc
go get -u github.com/golang/protobuf/protoc-gen-go
```
- Web
```bash
git clone https://github.com/grpc/grpc-web
cd grpc-web
sudo make install-plugin
```
参考资料:
@@ -21,4 +27,4 @@
### 编译
- 在本项目打开控制台,或者切换工作路径到本项目
- 执行 `./gen`
- 执行 `./gen-{{platform}}`