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) ProtoMessage ¶
func (*GetName) ProtoMessage()
func (*GetName) ProtoReflect ¶
func (x *GetName) ProtoReflect() protoreflect.Message
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 ¶
func (*UnimplementedGetterServer) GetName(context.Context, *GetName_Request) (*GetName_Response, error)
Click to show internal directories.
Click to hide internal directories.