Documentation ¶
Index ¶
- Constants
- type UserService
- func (u *UserService) ActivateAccount(ctx context.Context, req *api.ActivateAccountReq) (*api.ActivateAccountResp, error)
- func (u *UserService) Cancel(ctx context.Context, req *api.CancelReq) (*api.CancelResp, error)
- func (u *UserService) GetUserInfo(ctx context.Context, req *api.GetUserInfoReq) (*api.GetUserInfoResp, error)
- func (u *UserService) SignIn(ctx context.Context, req *api.SignInReq) (*api.SignInResp, error)
- func (u *UserService) SignOut(ctx context.Context, req *api.SignOutReq) (*api.SignOutResp, error)
- func (u *UserService) SignUp(ctx context.Context, req *api.SignUpReq) (*api.SignUpResp, error)
- func (u *UserService) UpdatePassword(ctx context.Context, req *api.UpdatePasswordReq) (*api.UpdatePasswordResp, error)
- func (u *UserService) UpdateUserInfo(ctx context.Context, req *api.UpdateUserInfoReq) (*api.UpdateUserInfoResp, error)
Constants ¶
View Source
const ACTIVATE_AES_KEY = "Bt3vOe2ljkletq3V"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserService ¶
type UserService struct{}
func (*UserService) ActivateAccount ¶
func (u *UserService) ActivateAccount(ctx context.Context, req *api.ActivateAccountReq) (*api.ActivateAccountResp, error)
func (*UserService) Cancel ¶
func (u *UserService) Cancel(ctx context.Context, req *api.CancelReq) (*api.CancelResp, error)
func (*UserService) GetUserInfo ¶
func (u *UserService) GetUserInfo(ctx context.Context, req *api.GetUserInfoReq) (*api.GetUserInfoResp, error)
func (*UserService) SignIn ¶
func (u *UserService) SignIn(ctx context.Context, req *api.SignInReq) (*api.SignInResp, error)
func (*UserService) SignOut ¶
func (u *UserService) SignOut(ctx context.Context, req *api.SignOutReq) (*api.SignOutResp, error)
func (*UserService) SignUp ¶
func (u *UserService) SignUp(ctx context.Context, req *api.SignUpReq) (*api.SignUpResp, error)
func (*UserService) UpdatePassword ¶
func (u *UserService) UpdatePassword(ctx context.Context, req *api.UpdatePasswordReq) (*api.UpdatePasswordResp, error)
func (*UserService) UpdateUserInfo ¶
func (u *UserService) UpdateUserInfo(ctx context.Context, req *api.UpdateUserInfoReq) (*api.UpdateUserInfoResp, error)
Click to show internal directories.
Click to hide internal directories.