healthcheck

package
v1.4.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthCheck

type HealthCheck struct {
	// contains filtered or unexported fields
}

HealthCheck fulfills the grpc_health_v1.HealthServer interface by ensuring the services being managed by the provided service manager are healthy.

func New

func New(sm *services.Manager) *HealthCheck

New returns a new HealthCheck for the provided service manager.

func (*HealthCheck) Check

Check implements the grpc healthcheck.

func (*HealthCheck) Watch

Watch implements the grpc healthcheck.

Jump to

Keyboard shortcuts

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