type google.golang.org/grpc/health/grpc_health_v1.HealthCheckResponse
30 uses
google.golang.org/grpc/health/grpc_health_v1 (current package)
health.pb.go#L137: type HealthCheckResponse struct {
health.pb.go#L144: func (x *HealthCheckResponse) Reset() {
health.pb.go#L145: *x = HealthCheckResponse{}
health.pb.go#L151: func (x *HealthCheckResponse) String() string {
health.pb.go#L155: func (*HealthCheckResponse) ProtoMessage() {}
health.pb.go#L157: func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message {
health.pb.go#L170: func (*HealthCheckResponse) Descriptor() ([]byte, []int) {
health.pb.go#L174: func (x *HealthCheckResponse) GetStatus() HealthCheckResponse_ServingStatus {
health.pb.go#L220: Statuses map[string]*HealthCheckResponse `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
health.pb.go#L255: func (x *HealthListResponse) GetStatuses() map[string]*HealthCheckResponse {
health.pb.go#L305: (*HealthCheckResponse)(nil), // 2: grpc.health.v1.HealthCheckResponse
health_grpc.pb.go#L59: Check(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error)
health_grpc.pb.go#L87: Watch(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[HealthCheckResponse], error)
health_grpc.pb.go#L98: func (c *healthClient) Check(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error) {
health_grpc.pb.go#L100: out := new(HealthCheckResponse)
health_grpc.pb.go#L118: func (c *healthClient) Watch(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[HealthCheckResponse], error) {
health_grpc.pb.go#L124: x := &grpc.GenericClientStream[HealthCheckRequest, HealthCheckResponse]{ClientStream: stream}
health_grpc.pb.go#L135: type Health_WatchClient = grpc.ServerStreamingClient[HealthCheckResponse]
health_grpc.pb.go#L152: Check(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
health_grpc.pb.go#L180: Watch(*HealthCheckRequest, grpc.ServerStreamingServer[HealthCheckResponse]) error
health_grpc.pb.go#L190: func (UnimplementedHealthServer) Check(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error) {
health_grpc.pb.go#L196: func (UnimplementedHealthServer) Watch(*HealthCheckRequest, grpc.ServerStreamingServer[HealthCheckResponse]) error {
health_grpc.pb.go#L260: return srv.(HealthServer).Watch(m, &grpc.GenericServerStream[HealthCheckRequest, HealthCheckResponse]{ServerStream: stream})
health_grpc.pb.go#L264: type Health_WatchServer = grpc.ServerStreamingServer[HealthCheckResponse]
google.golang.org/grpc/health
client.go#L92: resp := new(healthpb.HealthCheckResponse)
server.go#L61: func (s *Server) Check(_ context.Context, in *healthpb.HealthCheckRequest) (*healthpb.HealthCheckResponse, error) {
server.go#L65: return &healthpb.HealthCheckResponse{
server.go#L81: statusMap := make(map[string]*healthpb.HealthCheckResponse, len(s.statusMap))
server.go#L83: statusMap[k] = &healthpb.HealthCheckResponse{Status: v}
server.go#L123: err := stream.Send(&healthpb.HealthCheckResponse{Status: servingStatus})