Versions in this module Expand all Collapse all v1 v1.0.0 Aug 29, 2022 Changes in this version + var File_samples_api_proto protoreflect.FileDescriptor + var Greeter_ServiceDesc = grpc_go.ServiceDesc + func RegisterGreeterServer(s grpc_go.ServiceRegistrar, srv GreeterServer) + type GreeterClient interface + SayHello func(ctx context.Context, in *HelloRequest, opts ...grpc_go.CallOption) (*User, common.ErrorWithAttachment) + SayHelloStream func(ctx context.Context, opts ...grpc_go.CallOption) (Greeter_SayHelloStreamClient, error) + func NewGreeterClient(cc *triple.TripleConn) GreeterClient + type GreeterClientImpl struct + SayHello func(ctx context.Context, in *HelloRequest) (*User, error) + SayHelloStream func(ctx context.Context) (Greeter_SayHelloStreamClient, error) + func (c *GreeterClientImpl) GetDubboStub(cc *triple.TripleConn) GreeterClient + func (c *GreeterClientImpl) XXX_InterfaceName() string + type GreeterServer interface + SayHello func(context.Context, *HelloRequest) (*User, error) + SayHelloStream func(Greeter_SayHelloStreamServer) error + type Greeter_SayHelloStreamClient interface + Recv func() (*User, error) + Send func(*HelloRequest) error + type Greeter_SayHelloStreamServer interface + Recv func() (*HelloRequest, error) + Send func(*User) error + type HelloRequest struct + Name string + func (*HelloRequest) Descriptor() ([]byte, []int) + func (*HelloRequest) ProtoMessage() + func (x *HelloRequest) GetName() string + func (x *HelloRequest) ProtoReflect() protoreflect.Message + func (x *HelloRequest) Reset() + func (x *HelloRequest) String() string + type UnimplementedGreeterServer struct + func (UnimplementedGreeterServer) SayHello(context.Context, *HelloRequest) (*User, error) + func (UnimplementedGreeterServer) SayHelloStream(Greeter_SayHelloStreamServer) error + func (s *UnimplementedGreeterServer) XXX_GetProxyImpl() protocol.Invoker + func (s *UnimplementedGreeterServer) XXX_InterfaceName() string + func (s *UnimplementedGreeterServer) XXX_ServiceDesc() *grpc_go.ServiceDesc + func (s *UnimplementedGreeterServer) XXX_SetProxyImpl(impl protocol.Invoker) + type UnsafeGreeterServer interface + type User struct + Age int32 + Id string + Name string + func (*User) Descriptor() ([]byte, []int) + func (*User) ProtoMessage() + func (x *User) GetAge() int32 + func (x *User) GetId() string + func (x *User) GetName() string + func (x *User) ProtoReflect() protoreflect.Message + func (x *User) Reset() + func (x *User) String() string