health

package
v0.0.0-...-2240ef2 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2020 License: MIT Imports: 9 Imported by: 1

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.

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

Jump to

Keyboard shortcuts

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