service

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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) UpdateEmail added in v1.1.0

func (u *UserService) UpdateEmail(ctx context.Context, req *api.UpdateEmailReq) (*api.UpdateEmailResp, error)

func (*UserService) UpdatePassword

func (u *UserService) UpdatePassword(ctx context.Context, req *api.UpdatePasswordReq) (*api.UpdatePasswordResp, error)

func (*UserService) UpdateProfile added in v1.0.5

func (u *UserService) UpdateProfile(ctx context.Context, req *api.UpdateProfileReq) (*api.UpdateProfileResp, error)

func (*UserService) UpdateUserInfo

func (u *UserService) UpdateUserInfo(ctx context.Context, req *api.UpdateUserInfoReq) (*api.UpdateUserInfoResp, error)

func (*UserService) UploadProfile added in v1.1.0

func (u *UserService) UploadProfile(ctx context.Context, req *api.UploadProfileReq) (*api.UploadProfileResp, error)

Jump to

Keyboard shortcuts

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