Documentation ¶
Overview ¶
Package grpc_health is a generated protocol buffer package.
It is generated from these files:
health.proto
It has these top-level messages:
HealthCheckRequest HealthCheckResponse
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHealthCheckServer ¶
func RegisterHealthCheckServer(s *grpc.Server, srv HealthCheckServer)
Types ¶
type HealthCheckClient ¶
type HealthCheckClient interface {
Check(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error)
}
func NewHealthCheckClient ¶
func NewHealthCheckClient(cc *grpc.ClientConn) HealthCheckClient
type HealthCheckRequest ¶
type HealthCheckRequest struct { }
func (*HealthCheckRequest) ProtoMessage ¶
func (*HealthCheckRequest) ProtoMessage()
func (*HealthCheckRequest) Reset ¶
func (m *HealthCheckRequest) Reset()
func (*HealthCheckRequest) String ¶
func (m *HealthCheckRequest) String() string
type HealthCheckResponse ¶
type HealthCheckResponse struct { }
func (*HealthCheckResponse) ProtoMessage ¶
func (*HealthCheckResponse) ProtoMessage()
func (*HealthCheckResponse) Reset ¶
func (m *HealthCheckResponse) Reset()
func (*HealthCheckResponse) String ¶
func (m *HealthCheckResponse) String() string
type HealthCheckServer ¶
type HealthCheckServer interface {
Check(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
}
Click to show internal directories.
Click to hide internal directories.