Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_health_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCheckHealthServer ¶
func RegisterCheckHealthServer(s *grpc.Server, srv CheckHealthServer)
Types ¶
type CheckHealthClient ¶
type CheckHealthClient interface {
Health(ctx context.Context, in *HealthRequest, opts ...grpc.CallOption) (*HealthResponse, error)
}
CheckHealthClient is the client API for CheckHealth service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCheckHealthClient ¶
func NewCheckHealthClient(cc grpc.ClientConnInterface) CheckHealthClient
type CheckHealthServer ¶
type CheckHealthServer interface {
Health(context.Context, *HealthRequest) (*HealthResponse, error)
}
CheckHealthServer is the server API for CheckHealth service.
type HealthRequest ¶
type HealthRequest struct {
// contains filtered or unexported fields
}
func (*HealthRequest) Descriptor
deprecated
func (*HealthRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthRequest.ProtoReflect.Descriptor instead.
func (*HealthRequest) ProtoMessage ¶
func (*HealthRequest) ProtoMessage()
func (*HealthRequest) ProtoReflect ¶
func (x *HealthRequest) ProtoReflect() protoreflect.Message
func (*HealthRequest) Reset ¶
func (x *HealthRequest) Reset()
func (*HealthRequest) String ¶
func (x *HealthRequest) String() string
type HealthResponse ¶
type HealthResponse struct { MemoryAllocated uint64 `protobuf:"varint,1,opt,name=memoryAllocated,proto3" json:"memoryAllocated,omitempty"` // contains filtered or unexported fields }
func (*HealthResponse) Descriptor
deprecated
func (*HealthResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthResponse.ProtoReflect.Descriptor instead.
func (*HealthResponse) GetMemoryAllocated ¶
func (x *HealthResponse) GetMemoryAllocated() uint64
func (*HealthResponse) ProtoMessage ¶
func (*HealthResponse) ProtoMessage()
func (*HealthResponse) ProtoReflect ¶
func (x *HealthResponse) ProtoReflect() protoreflect.Message
func (*HealthResponse) Reset ¶
func (x *HealthResponse) Reset()
func (*HealthResponse) String ¶
func (x *HealthResponse) String() string
type UnimplementedCheckHealthServer ¶
type UnimplementedCheckHealthServer struct { }
UnimplementedCheckHealthServer can be embedded to have forward compatible implementations.
func (*UnimplementedCheckHealthServer) Health ¶
func (*UnimplementedCheckHealthServer) Health(context.Context, *HealthRequest) (*HealthResponse, error)
Click to show internal directories.
Click to hide internal directories.