service

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: Apache-2.0 Imports: 8 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) 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)

Jump to

Keyboard shortcuts

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