healthchecker

package
v0.21.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2021 License: Apache-2.0 Imports: 9 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GrpcUnaryServerHealthCheckerInterceptor added in v0.14.2

func GrpcUnaryServerHealthCheckerInterceptor(callerCtx context.Context) grpc.UnaryServerInterceptor

func NewGrpc

func NewGrpc(serviceName string, grpcHealthServer *health.Server, failOnTerm bool, initialServingStatus healthpb.HealthCheckResponse_ServingStatus) *grpcHealthChecker

Types

type HealthChecker

type HealthChecker interface {
	Fail()
	Ok()
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL