Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo, path, missing semicolon. #10

Merged
merged 1 commit into from
Apr 22, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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