mongodbhealthpb

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_mongodbhealth_mongodbhealthpb_mongodbhealthservice_proto protoreflect.FileDescriptor

Functions

func RegisterMongoDbHealthServiceServer

func RegisterMongoDbHealthServiceServer(s grpc.ServiceRegistrar, srv MongoDbHealthServiceServer)

Types

type Health

type Health struct {
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*Health) Descriptor deprecated

func (*Health) Descriptor() ([]byte, []int)

Deprecated: Use Health.ProtoReflect.Descriptor instead.

func (*Health) GetStatus

func (x *Health) GetStatus() string

func (*Health) ProtoMessage

func (*Health) ProtoMessage()

func (*Health) ProtoReflect

func (x *Health) ProtoReflect() protoreflect.Message

func (*Health) Reset

func (x *Health) Reset()

func (*Health) String

func (x *Health) String() string

type HealthResponse

type HealthResponse struct {
	Health *Health `protobuf:"bytes,1,opt,name=health,proto3" json:"health,omitempty"`
	// contains filtered or unexported fields
}

func (*HealthResponse) Descriptor deprecated

func (*HealthResponse) Descriptor() ([]byte, []int)

Deprecated: Use HealthResponse.ProtoReflect.Descriptor instead.

func (*HealthResponse) GetHealth

func (x *HealthResponse) GetHealth() *Health

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 MongoDbHealthServiceClient

MongoDbHealthServiceClient is the client API for MongoDbHealthService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type MongoDbHealthServiceServer

MongoDbHealthServiceServer is the server API for MongoDbHealthService service. All implementations must embed UnimplementedMongoDbHealthServiceServer for forward compatibility

type UnimplementedMongoDbHealthServiceServer

type UnimplementedMongoDbHealthServiceServer struct {
}

UnimplementedMongoDbHealthServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedMongoDbHealthServiceServer) Health

type UnsafeMongoDbHealthServiceServer

type UnsafeMongoDbHealthServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeMongoDbHealthServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MongoDbHealthServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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