Documentation ¶
Index ¶
- Variables
- func RegisterTalkServiceServer(s *grpc.Server, srv TalkServiceServer)
- type EmptyRequest
- type SingleReply
- func (*SingleReply) Descriptor() ([]byte, []int)deprecated
- func (x *SingleReply) GetConstant() string
- func (x *SingleReply) GetVariable() uint64
- func (*SingleReply) ProtoMessage()
- func (x *SingleReply) ProtoReflect() protoreflect.Message
- func (x *SingleReply) Reset()
- func (x *SingleReply) String() string
- type TalkServiceClient
- type TalkServiceServer
- type TalkService_GetManyClient
- type TalkService_GetManyServer
- type UnimplementedTalkServiceServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_talk_proto protoreflect.FileDescriptor
Functions ¶
func RegisterTalkServiceServer ¶
func RegisterTalkServiceServer(s *grpc.Server, srv TalkServiceServer)
Types ¶
type EmptyRequest ¶
type EmptyRequest struct {
// contains filtered or unexported fields
}
func (*EmptyRequest) Descriptor
deprecated
func (*EmptyRequest) Descriptor() ([]byte, []int)
Deprecated: Use EmptyRequest.ProtoReflect.Descriptor instead.
func (*EmptyRequest) ProtoMessage ¶
func (*EmptyRequest) ProtoMessage()
func (*EmptyRequest) ProtoReflect ¶
func (x *EmptyRequest) ProtoReflect() protoreflect.Message
func (*EmptyRequest) Reset ¶
func (x *EmptyRequest) Reset()
func (*EmptyRequest) String ¶
func (x *EmptyRequest) String() string
type SingleReply ¶
type SingleReply struct { Variable uint64 `protobuf:"varint,1,opt,name=variable,proto3" json:"variable,omitempty"` Constant string `protobuf:"bytes,2,opt,name=constant,proto3" json:"constant,omitempty"` // contains filtered or unexported fields }
func (*SingleReply) Descriptor
deprecated
func (*SingleReply) Descriptor() ([]byte, []int)
Deprecated: Use SingleReply.ProtoReflect.Descriptor instead.
func (*SingleReply) GetConstant ¶
func (x *SingleReply) GetConstant() string
func (*SingleReply) GetVariable ¶
func (x *SingleReply) GetVariable() uint64
func (*SingleReply) ProtoMessage ¶
func (*SingleReply) ProtoMessage()
func (*SingleReply) ProtoReflect ¶
func (x *SingleReply) ProtoReflect() protoreflect.Message
func (*SingleReply) Reset ¶
func (x *SingleReply) Reset()
func (*SingleReply) String ¶
func (x *SingleReply) String() string
type TalkServiceClient ¶
type TalkServiceClient interface {
GetMany(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (TalkService_GetManyClient, error)
}
TalkServiceClient is the client API for TalkService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTalkServiceClient ¶
func NewTalkServiceClient(cc grpc.ClientConnInterface) TalkServiceClient
type TalkServiceServer ¶
type TalkServiceServer interface {
GetMany(*EmptyRequest, TalkService_GetManyServer) error
}
TalkServiceServer is the server API for TalkService service.
type TalkService_GetManyClient ¶
type TalkService_GetManyClient interface { Recv() (*SingleReply, error) grpc.ClientStream }
type TalkService_GetManyServer ¶
type TalkService_GetManyServer interface { Send(*SingleReply) error grpc.ServerStream }
type UnimplementedTalkServiceServer ¶
type UnimplementedTalkServiceServer struct { }
UnimplementedTalkServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedTalkServiceServer) GetMany ¶
func (*UnimplementedTalkServiceServer) GetMany(*EmptyRequest, TalkService_GetManyServer) error
Click to show internal directories.
Click to hide internal directories.