Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fengbeihong committed Sep 18, 2021
1 parent 3e56cf1 commit 32dce04
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
## 说明

### 安装依赖

##### protoc和swagger的生成脚本
Expand Down Expand Up @@ -63,4 +61,9 @@ go run main.go
##### 测试
```
curl -XPOST --data '{"value":"testvalue"}' http://localhost:9901/v1/example/echo
```
```

### TODO
- 自定义protoc-gen-go工具,可以通过普通的proto文件,同时生成grpc的操作方法和启动http服务的操作方法
- swagger集成到服务内,只要启动服务,直接访问url即可获取接口描述信息
- 使用endpoint调用依赖服务时的负载均衡功能

0 comments on commit 32dce04

Please sign in to comment.