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 (*Checker) Check ¶
func (c *Checker) Check(context.Context, *grpcHealth.HealthCheckRequest) (*grpcHealth.HealthCheckResponse, error)
Check returns the status of the health checker as a GRPC response
func (*Checker) GetStatus ¶ added in v0.1.66
func (c *Checker) GetStatus() grpcHealth.HealthCheckResponse_ServingStatus
GetStatus gets the current status of the health checker
func (*Checker) SetStatus ¶
func (c *Checker) SetStatus(status grpcHealth.HealthCheckResponse_ServingStatus)
SetStatus sets the reported status for the health checker
Click to show internal directories.
Click to hide internal directories.