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

@@ -5,6 +5,8 @@
// Package context defines the Context type, which carries deadlines,
// cancelation signals, and other request-scoped values across API boundaries
// and between processes.
// As of Go 1.7 this package is available in the standard library under the
// name context. https://golang.org/pkg/context.
//
// Incoming requests to a server should create a Context, and outgoing calls to
// servers should accept a Context. The chain of function calls between must

6
vendor/vendor.json vendored
View File

@@ -585,10 +585,10 @@
"revisionTime": "2017-02-08T20:51:15Z"
},
{
"checksumSHA1": "dr5+PfIRzXeN+l1VG+s0lea9qz8=",
"checksumSHA1": "GtamqiJoL7PGHsN454AoffBFMa8=",
"path": "golang.org/x/net/context",
"revision": "ab5485076ff3407ad2d02db054635913f017b0ed",
"revisionTime": "2017-07-19T21:11:51Z"
"revision": "a337091b0525af65de94df2eb7e98bd9962dcbe2",
"revisionTime": "2016-10-09T20:39:03Z"
},
{
"checksumSHA1": "WHc3uByvGaMcnSoI21fhzYgbOgg=",