Versions in this module Expand all Collapse all v0 v0.1.0 Jun 20, 2024 Changes in this version + const UserService_GetUserIDListByTenant_FullMethodName + const UserService_RegisterGetTenant_FullMethodName + const UserService_UserBatchOpt_FullMethodName + const UserService_UserCreate_FullMethodName + const UserService_UserDelete_FullMethodName + const UserService_UserDetail_FullMethodName + const UserService_UserExpireDateCheck_FullMethodName + const UserService_UserList_FullMethodName + const UserService_UserResetPwd_FullMethodName + const UserService_UserUpdate_FullMethodName + var File_proto_user_proto protoreflect.FileDescriptor + var UserService_ServiceDesc = grpc.ServiceDesc + func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer) + type BatchOptReq struct + Ids []string + Status int32 + func (*BatchOptReq) Descriptor() ([]byte, []int) + func (*BatchOptReq) ProtoMessage() + func (x *BatchOptReq) GetIds() []string + func (x *BatchOptReq) GetStatus() int32 + func (x *BatchOptReq) ProtoReflect() protoreflect.Message + func (x *BatchOptReq) Reset() + func (x *BatchOptReq) String() string + type CreateReq struct + Account string + ExpireDate string + Mphone string + Name string + Notes string + OrgId string + Password string + RoleIds []string + Type string + WhiteIps string + func (*CreateReq) Descriptor() ([]byte, []int) + func (*CreateReq) ProtoMessage() + func (x *CreateReq) GetAccount() string + func (x *CreateReq) GetExpireDate() string + func (x *CreateReq) GetMphone() string + func (x *CreateReq) GetName() string + func (x *CreateReq) GetNotes() string + func (x *CreateReq) GetOrgId() string + func (x *CreateReq) GetPassword() string + func (x *CreateReq) GetRoleIds() []string + func (x *CreateReq) GetType() string + func (x *CreateReq) GetWhiteIps() string + func (x *CreateReq) ProtoReflect() protoreflect.Message + func (x *CreateReq) Reset() + func (x *CreateReq) String() string + type DeleteReq struct + Id string + func (*DeleteReq) Descriptor() ([]byte, []int) + func (*DeleteReq) ProtoMessage() + func (x *DeleteReq) GetId() string + func (x *DeleteReq) ProtoReflect() protoreflect.Message + func (x *DeleteReq) Reset() + func (x *DeleteReq) String() string + type DetailReq struct + Id string + func (*DetailReq) Descriptor() ([]byte, []int) + func (*DetailReq) ProtoMessage() + func (x *DetailReq) GetId() string + func (x *DetailReq) ProtoReflect() protoreflect.Message + func (x *DetailReq) Reset() + func (x *DetailReq) String() string + type DetailResp struct + Account string + ExpireDate string + Id string + Mphone string + Name string + Notes string + OrgId string + OrgName string + RoleIds []string + TenantId string + Type string + WhiteIps string + func (*DetailResp) Descriptor() ([]byte, []int) + func (*DetailResp) ProtoMessage() + func (x *DetailResp) GetAccount() string + func (x *DetailResp) GetExpireDate() string + func (x *DetailResp) GetId() string + func (x *DetailResp) GetMphone() string + func (x *DetailResp) GetName() string + func (x *DetailResp) GetNotes() string + func (x *DetailResp) GetOrgId() string + func (x *DetailResp) GetOrgName() string + func (x *DetailResp) GetRoleIds() []string + func (x *DetailResp) GetTenantId() string + func (x *DetailResp) GetType() string + func (x *DetailResp) GetWhiteIps() string + func (x *DetailResp) ProtoReflect() protoreflect.Message + func (x *DetailResp) Reset() + func (x *DetailResp) String() string + type EmptyRequest struct + func (*EmptyRequest) Descriptor() ([]byte, []int) + func (*EmptyRequest) ProtoMessage() + func (x *EmptyRequest) ProtoReflect() protoreflect.Message + func (x *EmptyRequest) Reset() + func (x *EmptyRequest) String() string + type EmptyResp struct + func (*EmptyResp) Descriptor() ([]byte, []int) + func (*EmptyResp) ProtoMessage() + func (x *EmptyResp) ProtoReflect() protoreflect.Message + func (x *EmptyResp) Reset() + func (x *EmptyResp) String() string + type GetUserIDListByTenantReq struct + TenantId string + func (*GetUserIDListByTenantReq) Descriptor() ([]byte, []int) + func (*GetUserIDListByTenantReq) ProtoMessage() + func (x *GetUserIDListByTenantReq) GetTenantId() string + func (x *GetUserIDListByTenantReq) ProtoReflect() protoreflect.Message + func (x *GetUserIDListByTenantReq) Reset() + func (x *GetUserIDListByTenantReq) String() string + type ListItem struct + Account string + Id string + LastLoginTime int64 + Mphone string + Name string + Status int32 + Type string + func (*ListItem) Descriptor() ([]byte, []int) + func (*ListItem) ProtoMessage() + func (x *ListItem) GetAccount() string + func (x *ListItem) GetId() string + func (x *ListItem) GetLastLoginTime() int64 + func (x *ListItem) GetMphone() string + func (x *ListItem) GetName() string + func (x *ListItem) GetStatus() int32 + func (x *ListItem) GetType() string + func (x *ListItem) ProtoReflect() protoreflect.Message + func (x *ListItem) Reset() + func (x *ListItem) String() string + type ListReq struct + Mphone string + Name string + PageNo int32 + PageSize int32 + Status int32 + func (*ListReq) Descriptor() ([]byte, []int) + func (*ListReq) ProtoMessage() + func (x *ListReq) GetMphone() string + func (x *ListReq) GetName() string + func (x *ListReq) GetPageNo() int32 + func (x *ListReq) GetPageSize() int32 + func (x *ListReq) GetStatus() int32 + func (x *ListReq) ProtoReflect() protoreflect.Message + func (x *ListReq) Reset() + func (x *ListReq) String() string + type ListResp struct + List []*ListItem + PageNo int32 + PageSize int32 + Total int64 + func (*ListResp) Descriptor() ([]byte, []int) + func (*ListResp) ProtoMessage() + func (x *ListResp) GetList() []*ListItem + func (x *ListResp) GetPageNo() int32 + func (x *ListResp) GetPageSize() int32 + func (x *ListResp) GetTotal() int64 + func (x *ListResp) ProtoReflect() protoreflect.Message + func (x *ListResp) Reset() + func (x *ListResp) String() string + type RegisterGetTenantReq struct + Account string + Password string + func (*RegisterGetTenantReq) Descriptor() ([]byte, []int) + func (*RegisterGetTenantReq) ProtoMessage() + func (x *RegisterGetTenantReq) GetAccount() string + func (x *RegisterGetTenantReq) GetPassword() string + func (x *RegisterGetTenantReq) ProtoReflect() protoreflect.Message + func (x *RegisterGetTenantReq) Reset() + func (x *RegisterGetTenantReq) String() string + type RegisterGetTenantResp struct + TenantId string + func (*RegisterGetTenantResp) Descriptor() ([]byte, []int) + func (*RegisterGetTenantResp) ProtoMessage() + func (x *RegisterGetTenantResp) GetTenantId() string + func (x *RegisterGetTenantResp) ProtoReflect() protoreflect.Message + func (x *RegisterGetTenantResp) Reset() + func (x *RegisterGetTenantResp) String() string + type ResetPwdReq struct + Id string + Password string + func (*ResetPwdReq) Descriptor() ([]byte, []int) + func (*ResetPwdReq) ProtoMessage() + func (x *ResetPwdReq) GetId() string + func (x *ResetPwdReq) GetPassword() string + func (x *ResetPwdReq) ProtoReflect() protoreflect.Message + func (x *ResetPwdReq) Reset() + func (x *ResetPwdReq) String() string + type UnimplementedUserServiceServer struct + func (UnimplementedUserServiceServer) GetUserIDListByTenant(context.Context, *GetUserIDListByTenantReq) (*UserIDList, error) + func (UnimplementedUserServiceServer) RegisterGetTenant(context.Context, *RegisterGetTenantReq) (*RegisterGetTenantResp, error) + func (UnimplementedUserServiceServer) UserBatchOpt(context.Context, *BatchOptReq) (*EmptyResp, error) + func (UnimplementedUserServiceServer) UserCreate(context.Context, *CreateReq) (*EmptyResp, error) + func (UnimplementedUserServiceServer) UserDelete(context.Context, *DeleteReq) (*EmptyResp, error) + func (UnimplementedUserServiceServer) UserDetail(context.Context, *DetailReq) (*DetailResp, error) + func (UnimplementedUserServiceServer) UserExpireDateCheck(context.Context, *EmptyRequest) (*EmptyResp, error) + func (UnimplementedUserServiceServer) UserList(context.Context, *ListReq) (*ListResp, error) + func (UnimplementedUserServiceServer) UserResetPwd(context.Context, *ResetPwdReq) (*EmptyResp, error) + func (UnimplementedUserServiceServer) UserUpdate(context.Context, *UpdateReq) (*EmptyResp, error) + type UnsafeUserServiceServer interface + type UpdateReq struct + ExpireDate string + Id string + Mphone string + Name string + Notes string + OrgId string + RoleIds []string + Type string + WhiteIps string + func (*UpdateReq) Descriptor() ([]byte, []int) + func (*UpdateReq) ProtoMessage() + func (x *UpdateReq) GetExpireDate() string + func (x *UpdateReq) GetId() string + func (x *UpdateReq) GetMphone() string + func (x *UpdateReq) GetName() string + func (x *UpdateReq) GetNotes() string + func (x *UpdateReq) GetOrgId() string + func (x *UpdateReq) GetRoleIds() []string + func (x *UpdateReq) GetType() string + func (x *UpdateReq) GetWhiteIps() string + func (x *UpdateReq) ProtoReflect() protoreflect.Message + func (x *UpdateReq) Reset() + func (x *UpdateReq) String() string + type UserIDList struct + UserIds []string + func (*UserIDList) Descriptor() ([]byte, []int) + func (*UserIDList) ProtoMessage() + func (x *UserIDList) GetUserIds() []string + func (x *UserIDList) ProtoReflect() protoreflect.Message + func (x *UserIDList) Reset() + func (x *UserIDList) String() string + type UserServiceClient interface + GetUserIDListByTenant func(ctx context.Context, in *GetUserIDListByTenantReq, opts ...grpc.CallOption) (*UserIDList, error) + RegisterGetTenant func(ctx context.Context, in *RegisterGetTenantReq, opts ...grpc.CallOption) (*RegisterGetTenantResp, error) + UserBatchOpt func(ctx context.Context, in *BatchOptReq, opts ...grpc.CallOption) (*EmptyResp, error) + UserCreate func(ctx context.Context, in *CreateReq, opts ...grpc.CallOption) (*EmptyResp, error) + UserDelete func(ctx context.Context, in *DeleteReq, opts ...grpc.CallOption) (*EmptyResp, error) + UserDetail func(ctx context.Context, in *DetailReq, opts ...grpc.CallOption) (*DetailResp, error) + UserExpireDateCheck func(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*EmptyResp, error) + UserList func(ctx context.Context, in *ListReq, opts ...grpc.CallOption) (*ListResp, error) + UserResetPwd func(ctx context.Context, in *ResetPwdReq, opts ...grpc.CallOption) (*EmptyResp, error) + UserUpdate func(ctx context.Context, in *UpdateReq, opts ...grpc.CallOption) (*EmptyResp, error) + func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient + type UserServiceServer interface + GetUserIDListByTenant func(context.Context, *GetUserIDListByTenantReq) (*UserIDList, error) + RegisterGetTenant func(context.Context, *RegisterGetTenantReq) (*RegisterGetTenantResp, error) + UserBatchOpt func(context.Context, *BatchOptReq) (*EmptyResp, error) + UserCreate func(context.Context, *CreateReq) (*EmptyResp, error) + UserDelete func(context.Context, *DeleteReq) (*EmptyResp, error) + UserDetail func(context.Context, *DetailReq) (*DetailResp, error) + UserExpireDateCheck func(context.Context, *EmptyRequest) (*EmptyResp, error) + UserList func(context.Context, *ListReq) (*ListResp, error) + UserResetPwd func(context.Context, *ResetPwdReq) (*EmptyResp, error) + UserUpdate func(context.Context, *UpdateReq) (*EmptyResp, error)