malenia

package
v0.0.0-...-760c72e Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaleniaService_HealthCheck_FullMethodName = "/malenia.MaleniaService/HealthCheck"
)

Variables

View Source
var File_proto_malenia_malenia_proto protoreflect.FileDescriptor
View Source
var MaleniaService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "malenia.MaleniaService",
	HandlerType: (*MaleniaServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "HealthCheck",
			Handler:    _MaleniaService_HealthCheck_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/malenia/malenia.proto",
}

MaleniaService_ServiceDesc is the grpc.ServiceDesc for MaleniaService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMaleniaServiceServer

func RegisterMaleniaServiceServer(s grpc.ServiceRegistrar, srv MaleniaServiceServer)

Types

type HealthCheckRequest

type HealthCheckRequest struct {
	RequestValue int32 `protobuf:"varint,1,opt,name=request_value,json=requestValue,proto3" json:"request_value,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Healthcheck operation

func (*HealthCheckRequest) Descriptor deprecated

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

Deprecated: Use HealthCheckRequest.ProtoReflect.Descriptor instead.

func (*HealthCheckRequest) GetRequestValue

func (x *HealthCheckRequest) GetRequestValue() int32

func (*HealthCheckRequest) ProtoMessage

func (*HealthCheckRequest) ProtoMessage()

func (*HealthCheckRequest) ProtoReflect

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

func (*HealthCheckRequest) Reset

func (x *HealthCheckRequest) Reset()

func (*HealthCheckRequest) String

func (x *HealthCheckRequest) String() string

type HealthCheckResponse

type HealthCheckResponse struct {
	HealthStatus bool `protobuf:"varint,1,opt,name=health_status,json=healthStatus,proto3" json:"health_status,omitempty"`
	// contains filtered or unexported fields
}

Response message for the Healthcheck operation

func (*HealthCheckResponse) Descriptor deprecated

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

Deprecated: Use HealthCheckResponse.ProtoReflect.Descriptor instead.

func (*HealthCheckResponse) GetHealthStatus

func (x *HealthCheckResponse) GetHealthStatus() bool

func (*HealthCheckResponse) ProtoMessage

func (*HealthCheckResponse) ProtoMessage()

func (*HealthCheckResponse) ProtoReflect

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

func (*HealthCheckResponse) Reset

func (x *HealthCheckResponse) Reset()

func (*HealthCheckResponse) String

func (x *HealthCheckResponse) String() string

type MaleniaServiceClient

type MaleniaServiceClient interface {
	HealthCheck(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error)
}

MaleniaServiceClient is the client API for MaleniaService 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 MaleniaServiceServer

type MaleniaServiceServer interface {
	HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
	// contains filtered or unexported methods
}

MaleniaServiceServer is the server API for MaleniaService service. All implementations must embed UnimplementedMaleniaServiceServer for forward compatibility

type UnimplementedMaleniaServiceServer

type UnimplementedMaleniaServiceServer struct {
}

UnimplementedMaleniaServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedMaleniaServiceServer) HealthCheck

type UnsafeMaleniaServiceServer

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

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

Jump to

Keyboard shortcuts

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