greet

package
v3.2.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GreetService_ServiceDesc = grpc_go.ServiceDesc{
	ServiceName: "greet.GreetService",
	HandlerType: (*GreetServiceServer)(nil),
	Methods: []grpc_go.MethodDesc{
		{
			MethodName: "Greet",
			Handler:    _GreetService_Greet_Handler,
		},
	},
	Streams: []grpc_go.StreamDesc{
		{
			StreamName:    "GreetStream",
			Handler:       _GreetService_GreetStream_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "GreetClientStream",
			Handler:       _GreetService_GreetClientStream_Handler,
			ClientStreams: true,
		},
		{
			StreamName:    "GreetServerStream",
			Handler:       _GreetService_GreetServerStream_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "greet.proto",
}

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

Functions

func RegisterGreetServiceServer

func RegisterGreetServiceServer(s grpc_go.ServiceRegistrar, srv GreetServiceServer)

Types

type GreetServiceClient

GreetServiceClient is the client API for GreetService 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.

func NewGreetServiceClient

func NewGreetServiceClient(cc *triple.TripleConn) GreetServiceClient

type GreetServiceClientImpl

type GreetServiceClientImpl struct {
	Greet             func(ctx context.Context, in *proto.GreetRequest) (*proto.GreetResponse, error)
	GreetStream       func(ctx context.Context) (GreetService_GreetStreamClient, error)
	GreetClientStream func(ctx context.Context) (GreetService_GreetClientStreamClient, error)
	GreetServerStream func(ctx context.Context, in *proto.GreetServerStreamRequest) (GreetService_GreetServerStreamClient, error)
}

func (*GreetServiceClientImpl) GetDubboStub

func (*GreetServiceClientImpl) XXX_InterfaceName

func (c *GreetServiceClientImpl) XXX_InterfaceName() string

type GreetServiceServer

type GreetServiceServer interface {
	Greet(context.Context, *proto.GreetRequest) (*proto.GreetResponse, error)
	GreetStream(GreetService_GreetStreamServer) error
	GreetClientStream(GreetService_GreetClientStreamServer) error
	GreetServerStream(*proto.GreetServerStreamRequest, GreetService_GreetServerStreamServer) error
	// contains filtered or unexported methods
}

GreetServiceServer is the server API for GreetService service. All implementations must embed UnimplementedGreetServiceServer for forward compatibility

type GreetService_GreetClientStreamClient

type GreetService_GreetClientStreamClient interface {
	Send(*proto.GreetClientStreamRequest) error
	CloseAndRecv() (*proto.GreetClientStreamResponse, error)
	grpc_go.ClientStream
}

type GreetService_GreetClientStreamServer

type GreetService_GreetClientStreamServer interface {
	SendAndClose(*proto.GreetClientStreamResponse) error
	Recv() (*proto.GreetClientStreamRequest, error)
	grpc_go.ServerStream
}

type GreetService_GreetServerStreamClient

type GreetService_GreetServerStreamClient interface {
	Recv() (*proto.GreetServerStreamResponse, error)
	grpc_go.ClientStream
}

type GreetService_GreetServerStreamServer

type GreetService_GreetServerStreamServer interface {
	Send(*proto.GreetServerStreamResponse) error
	grpc_go.ServerStream
}

type GreetService_GreetStreamClient

type GreetService_GreetStreamClient interface {
	Send(*proto.GreetStreamRequest) error
	Recv() (*proto.GreetStreamResponse, error)
	grpc_go.ClientStream
}

type GreetService_GreetStreamServer

type GreetService_GreetStreamServer interface {
	Send(*proto.GreetStreamResponse) error
	Recv() (*proto.GreetStreamRequest, error)
	grpc_go.ServerStream
}

type UnimplementedGreetServiceServer

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

UnimplementedGreetServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedGreetServiceServer) Greet

func (UnimplementedGreetServiceServer) GreetClientStream

func (UnimplementedGreetServiceServer) GreetStream

func (*UnimplementedGreetServiceServer) XXX_GetProxyImpl

func (s *UnimplementedGreetServiceServer) XXX_GetProxyImpl() protocol.Invoker

func (*UnimplementedGreetServiceServer) XXX_InterfaceName

func (s *UnimplementedGreetServiceServer) XXX_InterfaceName() string

func (*UnimplementedGreetServiceServer) XXX_ServiceDesc

func (s *UnimplementedGreetServiceServer) XXX_ServiceDesc() *grpc_go.ServiceDesc

func (*UnimplementedGreetServiceServer) XXX_SetProxyImpl

func (s *UnimplementedGreetServiceServer) XXX_SetProxyImpl(impl protocol.Invoker)

type UnsafeGreetServiceServer

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

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

Jump to

Keyboard shortcuts

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