Versions in this module Expand all Collapse all v1 v1.11.3 Apr 22, 2024 Changes in this version + var ErrIntOverflowEchoer = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthEchoer = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupEchoer = fmt.Errorf("proto: unexpected end of group") + func RegisterEchoerServer(s *grpc.Server, srv EchoerServer) + type EchoReply struct + Reply string + func (*EchoReply) Descriptor() ([]byte, []int) + func (*EchoReply) ProtoMessage() + func (m *EchoReply) Marshal() (dAtA []byte, err error) + func (m *EchoReply) MarshalTo(dAtA []byte) (int, error) + func (m *EchoReply) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *EchoReply) Reset() + func (m *EchoReply) Size() (n int) + func (m *EchoReply) String() string + func (m *EchoReply) Unmarshal(dAtA []byte) error + func (m *EchoReply) XXX_DiscardUnknown() + func (m *EchoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EchoReply) XXX_Merge(src proto.Message) + func (m *EchoReply) XXX_Size() int + func (m *EchoReply) XXX_Unmarshal(b []byte) error + type EchoRequest struct + Text string + func (*EchoRequest) Descriptor() ([]byte, []int) + func (*EchoRequest) ProtoMessage() + func (m *EchoRequest) Marshal() (dAtA []byte, err error) + func (m *EchoRequest) MarshalTo(dAtA []byte) (int, error) + func (m *EchoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *EchoRequest) Reset() + func (m *EchoRequest) Size() (n int) + func (m *EchoRequest) String() string + func (m *EchoRequest) Unmarshal(dAtA []byte) error + func (m *EchoRequest) XXX_DiscardUnknown() + func (m *EchoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EchoRequest) XXX_Merge(src proto.Message) + func (m *EchoRequest) XXX_Size() int + func (m *EchoRequest) XXX_Unmarshal(b []byte) error + type EchoerClient interface + Echo func(ctx context.Context, in *EchoRequest, opts ...grpc.CallOption) (*EchoReply, error) + func NewEchoerClient(cc *grpc.ClientConn) EchoerClient + type EchoerServer interface + Echo func(context.Context, *EchoRequest) (*EchoReply, error) + type UnimplementedEchoerServer struct + func (*UnimplementedEchoerServer) Echo(ctx context.Context, req *EchoRequest) (*EchoReply, error)