pb_grpc_v1

package
v1.1.231 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_getter_proto protoreflect.FileDescriptor

Functions

func RegisterGetterServer

func RegisterGetterServer(s *grpc.Server, srv GetterServer)

Types

type GetName

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

func (*GetName) Descriptor deprecated

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

Deprecated: Use GetName.ProtoReflect.Descriptor instead.

func (*GetName) ProtoMessage

func (*GetName) ProtoMessage()

func (*GetName) ProtoReflect

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

func (*GetName) Reset

func (x *GetName) Reset()

func (*GetName) String

func (x *GetName) String() string

type GetName_Request

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

func (*GetName_Request) Descriptor deprecated

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

Deprecated: Use GetName_Request.ProtoReflect.Descriptor instead.

func (*GetName_Request) ProtoMessage

func (*GetName_Request) ProtoMessage()

func (*GetName_Request) ProtoReflect

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

func (*GetName_Request) Reset

func (x *GetName_Request) Reset()

func (*GetName_Request) String

func (x *GetName_Request) String() string

type GetName_Response

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

func (*GetName_Response) Descriptor deprecated

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

Deprecated: Use GetName_Response.ProtoReflect.Descriptor instead.

func (*GetName_Response) ProtoMessage

func (*GetName_Response) ProtoMessage()

func (*GetName_Response) ProtoReflect

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

func (*GetName_Response) Reset

func (x *GetName_Response) Reset()

func (*GetName_Response) String

func (x *GetName_Response) String() string

type GetterClient

type GetterClient interface {
	GetName(ctx context.Context, in *GetName_Request, opts ...grpc.CallOption) (*GetName_Response, error)
}

GetterClient is the client API for Getter service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewGetterClient

func NewGetterClient(cc grpc.ClientConnInterface) GetterClient

type GetterServer

type GetterServer interface {
	GetName(context.Context, *GetName_Request) (*GetName_Response, error)
}

GetterServer is the server API for Getter service.

type UnimplementedGetterServer

type UnimplementedGetterServer struct {
}

UnimplementedGetterServer can be embedded to have forward compatible implementations.

func (*UnimplementedGetterServer) GetName

Jump to

Keyboard shortcuts

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