Documentation ¶
Index ¶
- type AccountRpc
- type BatchResp
- type BindUserEmailReq
- type EmptyReq
- type EmptyResp
- type FindLoginHistoryListReq
- type FindLoginHistoryListResp
- type FindUserInfoListResp
- type FindUserListReq
- type FindUserListResp
- type GetUserAreasAnalysisResp
- type IdReq
- type IdsReq
- type LoginReq
- type LoginResp
- type LogoffReq
- type LogoutReq
- type LogoutResp
- type OauthLoginReq
- type OauthLoginUrlResp
- type RegisterReq
- type ResetPasswordReq
- type UpdateUserInfoReq
- type UpdateUserStatusReq
- type User
- type UserEmailReq
- type UserIdReq
- type UserInfoResp
- type UserLoginHistory
- type UserRegion
- type UserRoleLabel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountRpc ¶
type AccountRpc interface { // 登录 Login(ctx context.Context, in *LoginReq, opts ...grpc.CallOption) (*LoginResp, error) // 登出 Logout(ctx context.Context, in *LogoutReq, opts ...grpc.CallOption) (*LogoutResp, error) // 注销 Logoff(ctx context.Context, in *LogoffReq, opts ...grpc.CallOption) (*EmptyResp, error) // 注册 Register(ctx context.Context, in *RegisterReq, opts ...grpc.CallOption) (*LoginResp, error) // 重置密码 ResetPassword(ctx context.Context, in *ResetPasswordReq, opts ...grpc.CallOption) (*EmptyResp, error) // 修改用户邮箱 BindUserEmail(ctx context.Context, in *BindUserEmailReq, opts ...grpc.CallOption) (*EmptyResp, error) // 发送注册邮件 SendRegisterEmail(ctx context.Context, in *UserEmailReq, opts ...grpc.CallOption) (*EmptyResp, error) // 发送重置密码邮件 SendResetPasswordEmail(ctx context.Context, in *UserEmailReq, opts ...grpc.CallOption) (*EmptyResp, error) // 发送绑定邮箱邮件 SendBindEmail(ctx context.Context, in *UserEmailReq, opts ...grpc.CallOption) (*EmptyResp, error) // 第三方登录 OauthLogin(ctx context.Context, in *OauthLoginReq, opts ...grpc.CallOption) (*LoginResp, error) // 获取第三方登录授权地址 GetOauthAuthorizeUrl(ctx context.Context, in *OauthLoginReq, opts ...grpc.CallOption) (*OauthLoginUrlResp, error) // 获取用户信息 GetUserInfo(ctx context.Context, in *UserIdReq, opts ...grpc.CallOption) (*UserInfoResp, error) // 修改用户信息 UpdateUserInfo(ctx context.Context, in *UpdateUserInfoReq, opts ...grpc.CallOption) (*EmptyResp, error) // 修改用户状态 UpdateUserStatus(ctx context.Context, in *UpdateUserStatusReq, opts ...grpc.CallOption) (*EmptyResp, error) // 查找用户列表 FindUserList(ctx context.Context, in *FindUserListReq, opts ...grpc.CallOption) (*FindUserListResp, error) // 查找在线用户列表 FindUserOnlineList(ctx context.Context, in *FindUserListReq, opts ...grpc.CallOption) (*FindUserInfoListResp, error) // 查找用户信息列表 FindUserInfoList(ctx context.Context, in *FindUserListReq, opts ...grpc.CallOption) (*FindUserInfoListResp, error) // 查询用户登录历史 FindUserLoginHistoryList(ctx context.Context, in *FindLoginHistoryListReq, opts ...grpc.CallOption) (*FindLoginHistoryListResp, error) // 查询用户分布区域 GetUserAreasAnalysis(ctx context.Context, in *EmptyReq, opts ...grpc.CallOption) (*GetUserAreasAnalysisResp, error) }
func NewAccountRpc ¶
func NewAccountRpc(cli zrpc.Client) AccountRpc
type BatchResp ¶
type BatchResp = accountrpc.BatchResp
type BindUserEmailReq ¶
type BindUserEmailReq = accountrpc.BindUserEmailReq
type EmptyReq ¶
type EmptyReq = accountrpc.EmptyReq
type EmptyResp ¶
type EmptyResp = accountrpc.EmptyResp
type FindLoginHistoryListReq ¶
type FindLoginHistoryListReq = accountrpc.FindLoginHistoryListReq
type FindLoginHistoryListResp ¶
type FindLoginHistoryListResp = accountrpc.FindLoginHistoryListResp
type FindUserInfoListResp ¶
type FindUserInfoListResp = accountrpc.FindUserInfoListResp
type FindUserListReq ¶
type FindUserListReq = accountrpc.FindUserListReq
type FindUserListResp ¶
type FindUserListResp = accountrpc.FindUserListResp
type GetUserAreasAnalysisResp ¶
type GetUserAreasAnalysisResp = accountrpc.GetUserAreasAnalysisResp
type IdReq ¶
type IdReq = accountrpc.IdReq
type IdsReq ¶
type IdsReq = accountrpc.IdsReq
type LoginReq ¶
type LoginReq = accountrpc.LoginReq
type LoginResp ¶
type LoginResp = accountrpc.LoginResp
type LogoffReq ¶
type LogoffReq = accountrpc.LogoffReq
type LogoutReq ¶
type LogoutReq = accountrpc.LogoutReq
type LogoutResp ¶
type LogoutResp = accountrpc.LogoutResp
type OauthLoginReq ¶
type OauthLoginReq = accountrpc.OauthLoginReq
type OauthLoginUrlResp ¶
type OauthLoginUrlResp = accountrpc.OauthLoginUrlResp
type RegisterReq ¶
type RegisterReq = accountrpc.RegisterReq
type ResetPasswordReq ¶
type ResetPasswordReq = accountrpc.ResetPasswordReq
type UpdateUserInfoReq ¶
type UpdateUserInfoReq = accountrpc.UpdateUserInfoReq
type UpdateUserStatusReq ¶
type UpdateUserStatusReq = accountrpc.UpdateUserStatusReq
type User ¶
type User = accountrpc.User
type UserEmailReq ¶
type UserEmailReq = accountrpc.UserEmailReq
type UserIdReq ¶
type UserIdReq = accountrpc.UserIdReq
type UserInfoResp ¶
type UserInfoResp = accountrpc.UserInfoResp
type UserLoginHistory ¶
type UserLoginHistory = accountrpc.UserLoginHistory
type UserRegion ¶
type UserRegion = accountrpc.UserRegion
type UserRoleLabel ¶
type UserRoleLabel = accountrpc.UserRoleLabel
Click to show internal directories.
Click to hide internal directories.