health

package
v1.1.686 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker struct {
	grpcHealth.UnimplementedHealthServer
	// contains filtered or unexported fields
}

Checker is a simple GRPC Health checker implemtation

func New

func New() *Checker

New creates a new instance of the health checker

func (*Checker) Check

Check returns the status of the health checker as a GRPC response

func (*Checker) GetStatus added in v0.1.66

GetStatus gets the current status of the health checker

func (*Checker) SetStatus

SetStatus sets the reported status for the health checker

Jump to

Keyboard shortcuts

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