service

package
v0.0.0-...-e505ea4 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AccountService

type AccountService struct {
	v1.UnimplementedAccountServer
	// contains filtered or unexported fields
}

func NewAccountService

func NewAccountService(conf configs.Interface, accountRepo repository.AccountRepo, logger *xlog.Logger) *AccountService

func (*AccountService) AuthFuncOverride

func (svc *AccountService) AuthFuncOverride(ctx context.Context, fullMethodName string) (context.Context, error)

func (*AccountService) GetByID

func (svc *AccountService) GetByID(ctx context.Context, in *v1.GetByIDReq) (*v1.GetByIDResp, error)

func (*AccountService) GetMiniQRCode

func (svc *AccountService) GetMiniQRCode(ctx context.Context, in *v1.GetMiniQRCodeReq) (*v1.GetMiniQRCodeResp, error)

func (*AccountService) Login

func (svc *AccountService) Login(ctx context.Context, in *v1.LoginReq) (*v1.LoginResp, error)

func (*AccountService) MiniLogin

func (svc *AccountService) MiniLogin(ctx context.Context, in *v1.MiniLoginReq) (*v1.MiniLoginResp, error)

func (*AccountService) Ping

func (svc *AccountService) Ping(ctx context.Context, in *v1.Empty) (*v1.Result, error)

func (*AccountService) SendVerificationCode

func (svc *AccountService) SendVerificationCode(ctx context.Context, in *v1.SendVerificationCodeReq) (*v1.Empty, error)

func (*AccountService) UpdatesUser

func (svc *AccountService) UpdatesUser(ctx context.Context, in *v1.UpdatesUserReq) (*v1.Empty, error)

Jump to

Keyboard shortcuts

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