Versions in this module Expand all Collapse all v0 v0.0.2 Nov 20, 2021 Changes in this version + var CustomerService_ServiceDesc = grpc_go.ServiceDesc + var File_customer_proto protoreflect.FileDescriptor + func RegisterCustomerServiceServer(s grpc_go.ServiceRegistrar, srv CustomerServiceServer) + type CreateCustomerRequest struct + Password string + Username string + func (*CreateCustomerRequest) Descriptor() ([]byte, []int) + func (*CreateCustomerRequest) ProtoMessage() + func (x *CreateCustomerRequest) GetPassword() string + func (x *CreateCustomerRequest) GetUsername() string + func (x *CreateCustomerRequest) ProtoReflect() protoreflect.Message + func (x *CreateCustomerRequest) Reset() + func (x *CreateCustomerRequest) String() string + type CreateCustomerResponse struct + UserId int64 + func (*CreateCustomerResponse) Descriptor() ([]byte, []int) + func (*CreateCustomerResponse) ProtoMessage() + func (x *CreateCustomerResponse) GetUserId() int64 + func (x *CreateCustomerResponse) ProtoReflect() protoreflect.Message + func (x *CreateCustomerResponse) Reset() + func (x *CreateCustomerResponse) String() string + type CustomerServiceClient interface + CreateCustomer func(ctx context.Context, in *CreateCustomerRequest, opts ...grpc_go.CallOption) (*CreateCustomerResponse, common.ErrorWithAttachment) + func NewCustomerServiceClient(cc *triple.TripleConn) CustomerServiceClient + type CustomerServiceClientImpl struct + CreateCustomer func(ctx context.Context, in *CreateCustomerRequest) (*CreateCustomerResponse, error) + func (c *CustomerServiceClientImpl) GetDubboStub(cc *triple.TripleConn) CustomerServiceClient + func (c *CustomerServiceClientImpl) XXX_InterfaceName() string + type CustomerServiceServer interface + CreateCustomer func(context.Context, *CreateCustomerRequest) (*CreateCustomerResponse, error) + type UnimplementedCustomerServiceServer struct + func (UnimplementedCustomerServiceServer) CreateCustomer(context.Context, *CreateCustomerRequest) (*CreateCustomerResponse, error) + func (s *UnimplementedCustomerServiceServer) XXX_GetProxyImpl() protocol.Invoker + func (s *UnimplementedCustomerServiceServer) XXX_InterfaceName() string + func (s *UnimplementedCustomerServiceServer) XXX_ServiceDesc() *grpc_go.ServiceDesc + func (s *UnimplementedCustomerServiceServer) XXX_SetProxyImpl(impl protocol.Invoker) + type UnsafeCustomerServiceServer interface