health

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

GRPC health check server (https://godoc.org/google.golang.org/grpc/health/grpc_health_v1)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(addr string) (run func(stop <-chan struct{}, checkFn CheckFn) error, err error)

Types

type CheckFn

type CheckFn func(ctx context.Context) (*rpc.HealthCheckResponse, error)

Jump to

Keyboard shortcuts

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