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: 9 Imported by: 0

README

Service

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewUmsService)

ProviderSet is service providers.

Functions

This section is empty.

Types

type UmsService

type UmsService struct {
	pb.UnimplementedUmsServer
	// contains filtered or unexported fields
}

func NewUmsService

func NewUmsService(accountUserUseCase *biz.AccountUserUseCase, logger log.Logger) *UmsService

func (*UmsService) CreateAccountUser

func (s *UmsService) CreateAccountUser(ctx context.Context, req *pb.CreateAccountUserReq) (*pb.CreateAccountUserResp, error)

func (*UmsService) DeleteAccountUser

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

func (*UmsService) GetAccountUser

func (s *UmsService) GetAccountUser(ctx context.Context, req *pb.GetAccountUserReq) (*pb.GetAccountUserResp, error)

func (*UmsService) ListAccountUser

func (s *UmsService) ListAccountUser(ctx context.Context, req *pb.ListAccountUserReq) (*pb.ListAccountUserResp, error)

func (*UmsService) Login

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

func (*UmsService) Logout

func (s *UmsService) Logout(ctx context.Context, req *pb.LogoutReq) (*pb.LogoutResp, error)

func (*UmsService) Register

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

func (*UmsService) UpdateAccountUser

func (s *UmsService) UpdateAccountUser(ctx context.Context, req *pb.UpdateAccountUserReq) (*emptypb.Empty, error)

Jump to

Keyboard shortcuts

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