health

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2022 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	pbs.UnimplementedHealthServiceServer
	// contains filtered or unexported fields
}

func NewService

func NewService() *Service

func (*Service) GetHealth

func (s *Service) GetHealth(ctx context.Context, req *pbs.GetHealthRequest) (*pbs.GetHealthResponse, error)

func (*Service) StartServiceUnavailableReplies

func (s *Service) StartServiceUnavailableReplies()

StartServiceUnavailableReplies gets returned to the caller of NewService. When invoked, we start responding to any health queries with a 503.

Jump to

Keyboard shortcuts

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