service

package
v0.0.0-...-9bd63dd Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: MIT Imports: 6 Imported by: 0

README

Service

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is service providers.

Functions

This section is empty.

Types

type AccountService

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

func NewAccountService

func NewAccountService(logger log.Logger, accountUserUseCase *biz.AccountUserUseCase, authUseCase *biz.AuthUseCase) *AccountService

func (*AccountService) Login

func (s *AccountService) Login(ctx context.Context, req *pb.LoginReq) (*pb.LoginResp, error)

func (*AccountService) Register

func (s *AccountService) Register(ctx context.Context, req *pb.RegisterReq) (*pb.RegisterResp, error)

type AccountUserService

type AccountUserService struct {
	v1.UnimplementedAccountUserServiceServer
	// contains filtered or unexported fields
}

func NewAccountUserService

func NewAccountUserService(logger log.Logger, accountUserUseCase *biz.AccountUserUseCase) *AccountUserService

func (*AccountUserService) CreateAccountUser

func (s *AccountUserService) CreateAccountUser(ctx context.Context, req *v1.CreateAccountUserReq) (*v1.AccountUser, error)

func (*AccountUserService) DeleteAccountUser

func (s *AccountUserService) DeleteAccountUser(ctx context.Context, req *v1.DeleteAccountUserReq) (*emptypb.Empty, error)

func (*AccountUserService) GetAccountUser

func (s *AccountUserService) GetAccountUser(ctx context.Context, req *v1.GetAccountUserReq) (*v1.AccountUser, error)

func (*AccountUserService) ListAccountUser

func (*AccountUserService) PageListAccountUser

func (*AccountUserService) UpdateAccountUser

func (s *AccountUserService) UpdateAccountUser(ctx context.Context, req *v1.UpdateAccountUserReq) (*v1.AccountUser, error)

Jump to

Keyboard shortcuts

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