Skip to content

Commit

Permalink
Add an RPC server for annotations.
Browse files Browse the repository at this point in the history
  • Loading branch information
korfuri committed Jul 14, 2017
1 parent fd5af31 commit 6341293
Show file tree
Hide file tree
Showing 7 changed files with 929 additions and 0 deletions.
18 changes: 18 additions & 0 deletions cmd/serve/proto/protoc.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/sh
protoc -I/usr/local/include -I. \
-I$GOPATH/src \
-I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \
--go_out=plugins=grpc:. \
serve.proto

protoc -I/usr/local/include -I. \
-I$GOPATH/src \
-I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \
--grpc-gateway_out=logtostderr=true:. \
serve.proto

protoc -I/usr/local/include -I. \
-I$GOPATH/src \
-I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \
--swagger_out=logtostderr=true:. \
serve.proto
Loading

0 comments on commit 6341293

Please sign in to comment.