Versions in this module Expand all Collapse all v1 v1.3.0 Sep 6, 2021 v1.2.0 Jul 28, 2021 Changes in this version + var File_user_proto protoreflect.FileDescriptor + func RegisterUserServer(s *grpc.Server, srv UserServer) + type Address struct + Address string + App *AppReq + Mobile string + Reply *SkipUrlsReply + Resp []*AppReply + func (*Address) Descriptor() ([]byte, []int) + func (*Address) ProtoMessage() + func (x *Address) GetAddress() string + func (x *Address) GetApp() *AppReq + func (x *Address) GetMobile() string + func (x *Address) GetReply() *SkipUrlsReply + func (x *Address) GetResp() []*AppReply + func (x *Address) ProtoReflect() protoreflect.Message + func (x *Address) Reset() + func (x *Address) String() string + type AppReply struct + Appkey string + Appsecret string + func (*AppReply) Descriptor() ([]byte, []int) + func (*AppReply) ProtoMessage() + func (x *AppReply) GetAppkey() string + func (x *AppReply) GetAppsecret() string + func (x *AppReply) ProtoReflect() protoreflect.Message + func (x *AppReply) Reset() + func (x *AppReply) String() string + type AppReq struct + Sappkey string + func (*AppReq) Descriptor() ([]byte, []int) + func (*AppReq) ProtoMessage() + func (x *AppReq) GetSappkey() string + func (x *AppReq) ProtoReflect() protoreflect.Message + func (x *AppReq) Reset() + func (x *AppReq) String() string + type SkipUrlsReply struct + Urls []string + func (*SkipUrlsReply) Descriptor() ([]byte, []int) + func (*SkipUrlsReply) ProtoMessage() + func (x *SkipUrlsReply) GetUrls() []string + func (x *SkipUrlsReply) ProtoReflect() protoreflect.Message + func (x *SkipUrlsReply) Reset() + func (x *SkipUrlsReply) String() string + type StaffInfoReply struct + Birthday string + Gender string + Id int64 + Mobile string + NickName string + StaffName string + func (*StaffInfoReply) Descriptor() ([]byte, []int) + func (*StaffInfoReply) ProtoMessage() + func (x *StaffInfoReply) GetBirthday() string + func (x *StaffInfoReply) GetGender() string + func (x *StaffInfoReply) GetId() int64 + func (x *StaffInfoReply) GetMobile() string + func (x *StaffInfoReply) GetNickName() string + func (x *StaffInfoReply) GetStaffName() string + func (x *StaffInfoReply) ProtoReflect() protoreflect.Message + func (x *StaffInfoReply) Reset() + func (x *StaffInfoReply) String() string + type StaffInfoReq struct + Id int64 + ShopId int64 + func (*StaffInfoReq) Descriptor() ([]byte, []int) + func (*StaffInfoReq) ProtoMessage() + func (x *StaffInfoReq) GetId() int64 + func (x *StaffInfoReq) GetShopId() int64 + func (x *StaffInfoReq) ProtoReflect() protoreflect.Message + func (x *StaffInfoReq) Reset() + func (x *StaffInfoReq) String() string + type UnimplementedUserServer struct + func (*UnimplementedUserServer) DelStaff(context.Context, *StaffInfoReq) (*emptypb.Empty, error) + func (*UnimplementedUserServer) GetAppSecret(context.Context, *AppReq) (*AppReply, error) + func (*UnimplementedUserServer) GetAppSkipUrls(context.Context, *AppReq) (*SkipUrlsReply, error) + func (*UnimplementedUserServer) GetStaffInfo(context.Context, *StaffInfoReq) (*StaffInfoReply, error) + func (*UnimplementedUserServer) TestValidator(context.Context, *ValidateReq) (*emptypb.Empty, error) + type UserClient interface + DelStaff func(ctx context.Context, in *StaffInfoReq, opts ...grpc.CallOption) (*emptypb.Empty, error) + GetAppSecret func(ctx context.Context, in *AppReq, opts ...grpc.CallOption) (*AppReply, error) + GetAppSkipUrls func(ctx context.Context, in *AppReq, opts ...grpc.CallOption) (*SkipUrlsReply, error) + GetStaffInfo func(ctx context.Context, in *StaffInfoReq, opts ...grpc.CallOption) (*StaffInfoReply, error) + TestValidator func(ctx context.Context, in *ValidateReq, opts ...grpc.CallOption) (*emptypb.Empty, error) + func NewUserClient(cc grpc.ClientConnInterface) UserClient + type UserServer interface + DelStaff func(context.Context, *StaffInfoReq) (*emptypb.Empty, error) + GetAppSecret func(context.Context, *AppReq) (*AppReply, error) + GetAppSkipUrls func(context.Context, *AppReq) (*SkipUrlsReply, error) + GetStaffInfo func(context.Context, *StaffInfoReq) (*StaffInfoReply, error) + TestValidator func(context.Context, *ValidateReq) (*emptypb.Empty, error) + type ValidateReq struct + Addr []*Address + Age int32 + Email string + Name string + Password string + Sex int32 + func (*ValidateReq) Descriptor() ([]byte, []int) + func (*ValidateReq) ProtoMessage() + func (x *ValidateReq) GetAddr() []*Address + func (x *ValidateReq) GetAge() int32 + func (x *ValidateReq) GetEmail() string + func (x *ValidateReq) GetName() string + func (x *ValidateReq) GetPassword() string + func (x *ValidateReq) GetSex() int32 + func (x *ValidateReq) ProtoReflect() protoreflect.Message + func (x *ValidateReq) Reset() + func (x *ValidateReq) String() string