Allows you to play with your GRPC-Go service by sending Canonical JSON-formatted requests to the same host:port as your GRPC servicee. It simply listens for HTTP 1.1 & GET requests, while forwarding HTTP/2 POSTs to GRPC as expected.
Try it out by cloning the repo and running make example
, then browsing to :9090.
To use in your own code, simply:
import grpcviewer "github.com/fizx/grpc-viewer"
grpcServer := grpcviewer.NewServer() // instead of grpc.NewServer()