Add grpc check example. (#306)

* Add grpc check example.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* add missing package.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu
2017-11-14 00:18:48 -06:00
committed by GitHub
parent 25bfe420b0
commit c6e3b7417e
6 changed files with 80 additions and 34 deletions

View File

@@ -1,11 +1,11 @@
package main
import (
"context"
"log"
"github.com/appleboy/gorush/rpc/proto"
"golang.org/x/net/context"
"google.golang.org/grpc"
)