users

package
v0.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2023 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserService

type UserService struct {
	services.BaseService
}

UserService 用户相关服务

func (*UserService) CheckUserEmail

func (this *UserService) CheckUserEmail(ctx context.Context, req *pb.CheckUserEmailRequest) (*pb.CheckUserEmailResponse, error)

CheckUserEmail 检查邮箱是否被使用

func (*UserService) CheckUserOTPWithUsername

CheckUserOTPWithUsername 检查是否需要输入OTP

func (*UserService) CheckUserServersState

CheckUserServersState 检查用户服务可用状态

func (*UserService) CheckUserUsername

CheckUserUsername 检查用户名是否存在

func (*UserService) ComposeUserDashboard

ComposeUserDashboard 取得用户Dashboard数据

func (*UserService) ComposeUserGlobalBoard

ComposeUserGlobalBoard 组合全局的看板数据

func (*UserService) CountAllEnabledUsers

func (this *UserService) CountAllEnabledUsers(ctx context.Context, req *pb.CountAllEnabledUsersRequest) (*pb.RPCCountResponse, error)

CountAllEnabledUsers 计算用户数量

func (*UserService) CreateUser

func (this *UserService) CreateUser(ctx context.Context, req *pb.CreateUserRequest) (*pb.CreateUserResponse, error)

CreateUser 创建用户

func (*UserService) DeleteUser

func (this *UserService) DeleteUser(ctx context.Context, req *pb.DeleteUserRequest) (*pb.RPCSuccess, error)

DeleteUser 删除用户

func (*UserService) FindAllUserFeatureDefinitions

FindAllUserFeatureDefinitions 获取所有的功能定义

func (*UserService) FindEnabledUser

func (this *UserService) FindEnabledUser(ctx context.Context, req *pb.FindEnabledUserRequest) (*pb.FindEnabledUserResponse, error)

FindEnabledUser 查询单个用户信息

func (*UserService) FindUserFeatures

func (this *UserService) FindUserFeatures(ctx context.Context, req *pb.FindUserFeaturesRequest) (*pb.FindUserFeaturesResponse, error)

FindUserFeatures 获取用户所有的功能列表

func (*UserService) FindUserNodeClusterId

FindUserNodeClusterId 获取用户所在的集群ID

func (*UserService) FindUserPriceInfo

FindUserPriceInfo 读取用户计费信息

func (*UserService) FindUserVerifiedEmailWithUsername

FindUserVerifiedEmailWithUsername 根据用户名查询用户绑定的邮箱

func (*UserService) ListEnabledUsers

func (this *UserService) ListEnabledUsers(ctx context.Context, req *pb.ListEnabledUsersRequest) (*pb.ListEnabledUsersResponse, error)

ListEnabledUsers 列出单页用户

func (*UserService) LoginUser

func (this *UserService) LoginUser(ctx context.Context, req *pb.LoginUserRequest) (*pb.LoginUserResponse, error)

LoginUser 登录

func (*UserService) RegisterUser

func (this *UserService) RegisterUser(ctx context.Context, req *pb.RegisterUserRequest) (*pb.RegisterUserResponse, error)

RegisterUser 注册用户

func (*UserService) RenewUserServersState

RenewUserServersState 更新用户服务可用状态

func (*UserService) UpdateAllUsersFeatures

func (this *UserService) UpdateAllUsersFeatures(ctx context.Context, req *pb.UpdateAllUsersFeaturesRequest) (*pb.RPCSuccess, error)

UpdateAllUsersFeatures 设置所有用户能使用的功能

func (*UserService) UpdateUser

func (this *UserService) UpdateUser(ctx context.Context, req *pb.UpdateUserRequest) (*pb.RPCSuccess, error)

UpdateUser 修改用户

func (*UserService) UpdateUserFeatures

func (this *UserService) UpdateUserFeatures(ctx context.Context, req *pb.UpdateUserFeaturesRequest) (*pb.RPCSuccess, error)

UpdateUserFeatures 设置用户能使用的功能

func (*UserService) UpdateUserInfo

func (this *UserService) UpdateUserInfo(ctx context.Context, req *pb.UpdateUserInfoRequest) (*pb.RPCSuccess, error)

UpdateUserInfo 修改用户基本信息

func (*UserService) UpdateUserLogin

func (this *UserService) UpdateUserLogin(ctx context.Context, req *pb.UpdateUserLoginRequest) (*pb.RPCSuccess, error)

UpdateUserLogin 修改用户登录信息

func (*UserService) UpdateUserPricePeriod

func (this *UserService) UpdateUserPricePeriod(ctx context.Context, req *pb.UpdateUserPricePeriodRequest) (*pb.RPCSuccess, error)

UpdateUserPricePeriod 修改用户计费周期

func (*UserService) UpdateUserPriceType

func (this *UserService) UpdateUserPriceType(ctx context.Context, req *pb.UpdateUserPriceTypeRequest) (*pb.RPCSuccess, error)

UpdateUserPriceType 修改用户计费方式

func (*UserService) VerifyUser

func (this *UserService) VerifyUser(ctx context.Context, req *pb.VerifyUserRequest) (*pb.RPCSuccess, error)

VerifyUser 审核用户

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL