proto

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package proto is a generated protocol buffer package.

It is generated from these files:

fxhealth.proto

It has these top-level messages:

FxHealth

Index

Constants

This section is empty.

Variables

View Source
var File_health_proto protoreflect.FileDescriptor
View Source
var HealthService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "base.HealthService",
	HandlerType: (*HealthServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Ping",
			Handler:    _HealthService_Ping_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "health.proto",
}

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

Functions

func RegisterFxHealthServiceServer

func RegisterFxHealthServiceServer(s *grpc.Server, srv FxHealthServiceServer)

func RegisterHealthServiceServer

func RegisterHealthServiceServer(s grpc.ServiceRegistrar, srv HealthServiceServer)

Types

type FxHealth

type FxHealth struct {
}

func (*FxHealth) Descriptor

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

func (*FxHealth) ProtoMessage

func (*FxHealth) ProtoMessage()

func (*FxHealth) Reset

func (m *FxHealth) Reset()

func (*FxHealth) String

func (m *FxHealth) String() string

type FxHealthServiceClient

type FxHealthServiceClient interface {
	Ping(ctx context.Context, in *FxHealth_PingRequest, opts ...grpc.CallOption) (*FxHealth_PingResponse, error)
}

func NewFxHealthServiceClient

func NewFxHealthServiceClient(cc *grpc.ClientConn) FxHealthServiceClient

type FxHealthServiceServer

type FxHealthServiceServer interface {
	Ping(context.Context, *FxHealth_PingRequest) (*FxHealth_PingResponse, error)
}

type FxHealth_PingRequest

type FxHealth_PingRequest struct {
}

func (*FxHealth_PingRequest) Descriptor

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

func (*FxHealth_PingRequest) ProtoMessage

func (*FxHealth_PingRequest) ProtoMessage()

func (*FxHealth_PingRequest) Reset

func (m *FxHealth_PingRequest) Reset()

func (*FxHealth_PingRequest) String

func (m *FxHealth_PingRequest) String() string

type FxHealth_PingResponse

type FxHealth_PingResponse struct {
}

func (*FxHealth_PingResponse) Descriptor

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

func (*FxHealth_PingResponse) ProtoMessage

func (*FxHealth_PingResponse) ProtoMessage()

func (*FxHealth_PingResponse) Reset

func (m *FxHealth_PingResponse) Reset()

func (*FxHealth_PingResponse) String

func (m *FxHealth_PingResponse) String() string

type Health

type Health struct {
	// contains filtered or unexported fields
}

func (*Health) Descriptor deprecated

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

Deprecated: Use Health.ProtoReflect.Descriptor instead.

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 HealthServiceClient

type HealthServiceClient interface {
	Ping(ctx context.Context, in *Health_PingRequest, opts ...grpc.CallOption) (*Health_PingResponse, error)
}

HealthServiceClient is the client API for HealthService 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 HealthServiceServer

type HealthServiceServer interface {
	Ping(context.Context, *Health_PingRequest) (*Health_PingResponse, error)
	// contains filtered or unexported methods
}

HealthServiceServer is the server API for HealthService service. All implementations must embed UnimplementedHealthServiceServer for forward compatibility

type Health_PingRequest

type Health_PingRequest struct {
	// contains filtered or unexported fields
}

func (*Health_PingRequest) Descriptor deprecated

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

Deprecated: Use Health_PingRequest.ProtoReflect.Descriptor instead.

func (*Health_PingRequest) ProtoMessage

func (*Health_PingRequest) ProtoMessage()

func (*Health_PingRequest) ProtoReflect

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

func (*Health_PingRequest) Reset

func (x *Health_PingRequest) Reset()

func (*Health_PingRequest) String

func (x *Health_PingRequest) String() string

type Health_PingResponse

type Health_PingResponse struct {
	// contains filtered or unexported fields
}

func (*Health_PingResponse) Descriptor deprecated

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

Deprecated: Use Health_PingResponse.ProtoReflect.Descriptor instead.

func (*Health_PingResponse) ProtoMessage

func (*Health_PingResponse) ProtoMessage()

func (*Health_PingResponse) ProtoReflect

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

func (*Health_PingResponse) Reset

func (x *Health_PingResponse) Reset()

func (*Health_PingResponse) String

func (x *Health_PingResponse) String() string

type UnimplementedHealthServiceServer

type UnimplementedHealthServiceServer struct {
}

UnimplementedHealthServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedHealthServiceServer) Ping

type UnsafeHealthServiceServer

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

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

Jump to

Keyboard shortcuts

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