usecase

package
v0.0.0-...-076fb55 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FranchiseUseCase

type FranchiseUseCase struct {
	// contains filtered or unexported fields
}

func NewFranchiseUseCase

func NewFranchiseUseCase(
	franchiseScrapper httprport.ScrapFranchiseRepository,
	countryRepository psqlrport.CountryRepository,
	cityRepository psqlrport.CityRepository,
	companyRepository psqlrport.CompanyRepository,
	locationRepository psqlrport.LocationRepository,
	franchiseRepository psqlrport.FranchiseRepository,
	detailedFranchiseRepository psqlrport.DetailedFranchiseRepository,
) *FranchiseUseCase

func (*FranchiseUseCase) Create

func (*FranchiseUseCase) GetAll

func (*FranchiseUseCase) Update

type PendingFranchiseUseCase

type PendingFranchiseUseCase struct {
	// contains filtered or unexported fields
}

func NewPendingFranchiseUseCase

func NewPendingFranchiseUseCase(newFranchizeRepository psql.PendingFranchiseRepository, franchiseCreationPublisher qport.Publisher) *PendingFranchiseUseCase

func (*PendingFranchiseUseCase) Create

type ProcessFranchiseUseCase

type ProcessFranchiseUseCase struct {
	// contains filtered or unexported fields
}

func NewProcessFranchiseUseCase

func NewProcessFranchiseUseCase(serviceConn grpc.ClientConnInterface, pendingFranchiseRepository psqlrport.PendingFranchiseRepository) *ProcessFranchiseUseCase

func (*ProcessFranchiseUseCase) Subscribe

func (pfuc *ProcessFranchiseUseCase) Subscribe(e event.Event) error

Jump to

Keyboard shortcuts

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