service

package
v0.0.0-...-544bbf9 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 License: MIT, MIT Imports: 6 Imported by: 0

README

Service

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewShopService)

ProviderSet is service providers.

Functions

This section is empty.

Types

type ShopService

type ShopService struct {
	pb.UnimplementedShopAdminServer
	// contains filtered or unexported fields
}

func NewShopService

func NewShopService(logger log.Logger, userUseCase *biz.UserUseCase, roleUseCase *biz.RoleUseCase, authUseCase *biz.AuthUseCase, dictDataUseCase *biz.DictDataUseCase) *ShopService

func (*ShopService) CreateAccountUser

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

func (*ShopService) CreateDictData

func (s *ShopService) CreateDictData(ctx context.Context, req *pb.CreateDictDataReq) (*pb.CreateDictDataResp, error)

func (*ShopService) CreateMenu

func (s *ShopService) CreateMenu(ctx context.Context, req *pb.CreateMenuReq) (*pb.CreateMenuResp, error)

func (*ShopService) CreateRole

func (s *ShopService) CreateRole(ctx context.Context, req *pb.CreateRoleReq) (*pb.CreateRoleResp, error)

func (*ShopService) CreateStaff

func (s *ShopService) CreateStaff(ctx context.Context, req *pb.CreateStaffReq) (*pb.CreateStaffResp, error)

func (*ShopService) CreateSystem

func (s *ShopService) CreateSystem(ctx context.Context, req *pb.CreateSystemReq) (*pb.CreateSystemResp, error)

func (*ShopService) CreateUser

func (s *ShopService) CreateUser(ctx context.Context, req *pb.CreateUserReq) (*pb.CreateUserResp, error)

func (*ShopService) DeleteAccountUser

func (s *ShopService) DeleteAccountUser(ctx context.Context, req *pb.DeleteAccountUserReq) (*pb.DeleteAccountUserResp, error)

func (*ShopService) DeleteDictData

func (s *ShopService) DeleteDictData(ctx context.Context, req *pb.DeleteDictDataReq) (*pb.DeleteDictDataResp, error)

func (*ShopService) DeleteMenu

func (s *ShopService) DeleteMenu(ctx context.Context, req *pb.DeleteMenuReq) (*pb.DeleteMenuResp, error)

func (*ShopService) DeleteRole

func (s *ShopService) DeleteRole(ctx context.Context, req *pb.DeleteRoleReq) (*pb.DeleteRoleResp, error)

func (*ShopService) DeleteStaff

func (s *ShopService) DeleteStaff(ctx context.Context, req *pb.DeleteStaffReq) (*pb.DeleteStaffResp, error)

func (*ShopService) DeleteSystem

func (s *ShopService) DeleteSystem(ctx context.Context, req *pb.DeleteSystemReq) (*pb.DeleteSystemResp, error)

func (*ShopService) DeleteUser

func (s *ShopService) DeleteUser(ctx context.Context, req *pb.DeleteUserReq) (*pb.DeleteUserResp, error)

func (*ShopService) GetAccountUser

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

func (*ShopService) GetDictData

func (s *ShopService) GetDictData(ctx context.Context, req *pb.GetDictDataReq) (*pb.GetDictDataResp, error)

func (*ShopService) GetMenu

func (s *ShopService) GetMenu(ctx context.Context, req *pb.GetMenuReq) (*pb.GetMenuResp, error)

func (*ShopService) GetRole

func (s *ShopService) GetRole(ctx context.Context, req *pb.GetRoleReq) (*pb.GetRoleResp, error)

func (*ShopService) GetStaff

func (s *ShopService) GetStaff(ctx context.Context, req *pb.GetStaffReq) (*pb.GetStaffResp, error)

func (*ShopService) GetSystem

func (s *ShopService) GetSystem(ctx context.Context, req *pb.GetSystemReq) (*pb.GetSystemResp, error)

func (*ShopService) GetUser

func (s *ShopService) GetUser(ctx context.Context, req *pb.GetUserReq) (*pb.GetUserResp, error)

func (*ShopService) ListAccountUser

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

func (*ShopService) ListDictData

func (s *ShopService) ListDictData(ctx context.Context, req *pb.ListDictDataReq) (*pb.ListDictDataResp, error)

func (*ShopService) ListMenu

func (s *ShopService) ListMenu(ctx context.Context, req *pb.ListMenuReq) (*pb.ListMenuResp, error)

func (*ShopService) ListRole

func (s *ShopService) ListRole(ctx context.Context, req *pb.ListRoleReq) (*pb.ListRoleResp, error)

func (*ShopService) ListStaff

func (s *ShopService) ListStaff(ctx context.Context, req *pb.ListStaffReq) (*pb.ListStaffResp, error)

func (*ShopService) ListSystem

func (s *ShopService) ListSystem(ctx context.Context, req *pb.ListSystemReq) (*pb.ListSystemResp, error)

func (*ShopService) ListUser

func (s *ShopService) ListUser(ctx context.Context, req *pb.ListUserReq) (*pb.ListUserResp, error)

func (*ShopService) Login

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

func (*ShopService) PageListAccountUser

func (s *ShopService) PageListAccountUser(ctx context.Context, req *pb.PageListAccountUserReq) (*pb.PageListAccountUserResp, error)

func (*ShopService) PageListDictData

func (s *ShopService) PageListDictData(ctx context.Context, req *pb.PageListDictDataReq) (*pb.PageListDictDataResp, error)

func (*ShopService) PageListMenu

func (s *ShopService) PageListMenu(ctx context.Context, req *pb.PageListMenuReq) (*pb.PageListMenuResp, error)

func (*ShopService) PageListRole

func (s *ShopService) PageListRole(ctx context.Context, req *pb.PageListRoleReq) (*pb.PageListRoleResp, error)

func (*ShopService) PageListStaff

func (s *ShopService) PageListStaff(ctx context.Context, req *pb.PageListStaffReq) (*pb.PageListStaffResp, error)

func (*ShopService) PageListSystem

func (s *ShopService) PageListSystem(ctx context.Context, req *pb.PageListSystemReq) (*pb.PageListSystemResp, error)

func (*ShopService) PageListUser

func (s *ShopService) PageListUser(ctx context.Context, req *pb.PageListUserReq) (*pb.PageListUserResp, error)

func (*ShopService) Register

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

func (*ShopService) UpdateAccountUser

func (s *ShopService) UpdateAccountUser(ctx context.Context, req *pb.UpdateAccountUserReq) (*pb.UpdateAccountUserResp, error)

func (*ShopService) UpdateDictData

func (s *ShopService) UpdateDictData(ctx context.Context, req *pb.UpdateDictDataReq) (*pb.UpdateDictDataResp, error)

func (*ShopService) UpdateMenu

func (s *ShopService) UpdateMenu(ctx context.Context, req *pb.UpdateMenuReq) (*pb.UpdateMenuResp, error)

func (*ShopService) UpdateRole

func (s *ShopService) UpdateRole(ctx context.Context, req *pb.UpdateRoleReq) (*pb.UpdateRoleResp, error)

func (*ShopService) UpdateStaff

func (s *ShopService) UpdateStaff(ctx context.Context, req *pb.UpdateStaffReq) (*pb.UpdateStaffResp, error)

func (*ShopService) UpdateSystem

func (s *ShopService) UpdateSystem(ctx context.Context, req *pb.UpdateSystemReq) (*pb.UpdateSystemResp, error)

func (*ShopService) UpdateUser

func (s *ShopService) UpdateUser(ctx context.Context, req *pb.UpdateUserReq) (*pb.UpdateUserResp, error)

Jump to

Keyboard shortcuts

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