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 ¶
func (s *HealthServer) Check(ctx context.Context, in *healthpb.HealthCheckRequest) (*healthpb.HealthCheckResponse, error)
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Godeps/_workspace/src/google.golang.org/grpc/health/grpc_health | Package 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.