Skip to content

tsub/grpc-go-sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gRPC Go Sandbox

The sandbox of the gRPC apps implemented in Go.

Requirements

How to setup

Server app

$ cd server
$ dep ensure
$ go generate

Client app

$ cd client
$ dep ensure

Gateway app

$ cd gateway
$ dep ensure

Usage

Launch a gRPC server.

$ go run server/main.go

Execute a gRPC client that call the Greeter service of gRPC server.

$ go run client/main.go
2018/02/18 10:27:23 Greeting: Hello world

Launch a grpc-gateway.

$ go run gateway/main.go

And request GET http://localhost:3000/v1/greeter.

$ curl http://localhost:3000/v1/greeter
{"message":"Hello "}

About

The sandbox of the gRPC apps implemented in Go.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages