health

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoOpClient = noOpClient{}
View Source
var NoOpService = noopService{}

Functions

This section is empty.

Types

type GRPCHealthService

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

func NewGRPCHealthService

func NewGRPCHealthService(server *health.Server, logger log.Logger, name string) *GRPCHealthService

func (*GRPCHealthService) SetNotServing added in v1.10.0

func (s *GRPCHealthService) SetNotServing()

func (*GRPCHealthService) SetServing added in v1.10.0

func (s *GRPCHealthService) SetServing()

type Service

type Service interface {
	SetServing()
	SetNotServing()
}

Jump to

Keyboard shortcuts

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