go-grpc-rest-swagger

module
v0.0.0-...-288c61e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2019 License: MIT

README

Golang grpc starter kit

TL;DR Bolerplate to get started with protobuf and grpc, bonus: REST gateway, swagger api and docker. Clone the repo, build docker image and run:

git clone "github.com/midoblgsm/go-grpc-rest-swagger"

cd go-grpc-rest-swagger

docker build -t myniceboilerplate .
docker run -p 7788:7788 -p 7789:7789 myniceboilerplate

You can see the swagger api at http://localhost:7789/swaggerui

If you modify the api/api.proto you need to run make to generate the server, (client as a bonus) and swagger api.

Directories

Path Synopsis
Package api is a reverse proxy.
Package api is a reverse proxy.
Package statik contains static assets.
Package statik contains static assets.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL