Skip to content

Commit

Permalink
Fix typo, path, missing semicolon.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitshur committed Apr 22, 2015
1 parent 66bae1d commit d11a875
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ Make sure that your `$GOPATH/bin` is in your `$PATH`.
+ option (gengo.grpc.gateway.ApiMethodOptions.api_options) = {
+ path: "/v1/example/echo"
+ method: "POST"
+ }
+ };
+ }
}
```
3. Generate gRPC stub

```sh
protoc -I/usr/local/include -I. -I$GOPATH \
protoc -I/usr/local/include -I. -I$GOPATH/src \
--go_out=plugins=grpc:. \
path/to/your_service.proto
```
Expand All @@ -90,7 +90,7 @@ Make sure that your `$GOPATH/bin` is in your `$PATH`.
4. Generate reverse-proxy

```sh
protoc -I/usr/local/include -I. -I$GOPATH \
protoc -I/usr/local/include -I. -I$GOPATH/src \
--grpc-gateway_out=logtostderr=true:. \
path/to/your_service.proto
```
Expand Down Expand Up @@ -155,15 +155,15 @@ More examples are available under `examples` directory.
* Generating JSON API handlers
* Method parameters in request body
* Method parameters in request path
* Mppping streaming APIs to JSON streams
* Mapping streaming APIs to JSON streams

### Want to support
But not yet.
* Integrated authentication
* bytes and enum fields in path parameter
* Method parameters in query string
* Encoding request/response body in application/x-www-form-urlencoded
* Optinally generating the entrypoint
* Optionally generating the entrypoint
* Optionally emitting API definition for [Swagger](http://swagger.io)

### No plan to support
Expand Down

0 comments on commit d11a875

Please sign in to comment.