package health

import "github.com/docker/distribution/Godeps/_workspace/src/google.golang.org/grpc/health"

Package health provides some utility functions to health-check a server. The implementation is based on protobuf. Users need to write their own implementations if other IDLs are used.

Index

Functions

func HealthCheck

func HealthCheck(t time.Duration, cc *grpc.ClientConn) error

HealthCheck is the client side function to health-check a server

Types

type HealthServer

type HealthServer struct {
}

func (*HealthServer) Check

Source Files

health.go

Directories

PathSynopsis
Godeps/_workspace/src/google.golang.org/grpc/health/grpc_healthPackage grpc_health is a generated protocol buffer package.
Version
v2.3.0-alpha+incompatible
Published
Jan 11, 2016
Platform
linux/amd64
Imports
4 packages
Last checked
8 minutes ago

Tools for package owners.