health

package
v0.0.0-...-f54f16c Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterHealthServer

func RegisterHealthServer(g *grpc.Server, s *Service)

RegisterHealthServer adds the health.Service definition to the passed GRPC server's services

Types

type Service

type Service struct {
	*grpc_health.Server
}

Service implements grpc_health_v1 and allows changing the (sub-)services' statuses in the same way google.golang.org/grpc/health does.

func NewService

func NewService() *Service

NewService returns a new health.Service

Jump to

Keyboard shortcuts

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