providers

package
v0.0.0-...-c4a26ae Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SizeURLs = len(URLs)
View Source
var URLs = []string{
	"https://www.epiesa.ro",
	"https://www.autoeco.ro",
	"https://www.autokarma.ro",
	"https://www.targuldepiese.ro",
	"https://www.autopiesa.ro",
	"https://www.autohut.ro",
	"https://www.autobro.ro",
	"https://www.automag.ro",
	"https://www.topautopiese.ro",
	"https://www.piese-auto.ro",
	"https://www.rapidauto.ro",
	"https://www.automobilus.ro",
	"https://www.trol.ro",
	"https://comnico.ro",
}

Functions

func GetProvider

func GetProvider(URL string) (interfaces.Provider, error)

Types

type Autobro

type Autobro structs.ProviderStruct

func (*Autobro) Search

func (p *Autobro) Search(bd *structs.BestDeal, productCode *string, out chan<- *structs.Deal, ctx context.Context)

type Autoeco

type Autoeco structs.ProviderStruct

func (*Autoeco) Search

func (p *Autoeco) Search(bd *structs.BestDeal, productCode *string, out chan<- *structs.Deal, ctx context.Context)

type Autohut

type Autohut structs.ProviderStruct

func (*Autohut) Search

func (p *Autohut) Search(bd *structs.BestDeal, productCode *string, out chan<- *structs.Deal, ctx context.Context)

type Autokarma

type Autokarma structs.ProviderStruct

func (*Autokarma) Search

func (p *Autokarma) Search(bd *structs.BestDeal, productCode *string, out chan<- *structs.Deal, ctx context.Context)

type Automag

type Automag structs.ProviderStruct

func (*Automag) Search

func (p *Automag) Search(bd *structs.BestDeal, productCode *string, out chan<- *structs.Deal, ctx context.Context)

type Automobilus

type Automobilus structs.ProviderStruct

func (*Automobilus) Search

func (p *Automobilus) Search(bd *structs.BestDeal, productCode *string, out chan<- *structs.Deal, ctx context.Context)

type Autopiesa

type Autopiesa structs.ProviderStruct

func (*Autopiesa) Search

func (p *Autopiesa) Search(bd *structs.BestDeal, productCode *string, out chan<- *structs.Deal, ctx context.Context)

type Comnico

type Comnico structs.ProviderStruct

func (*Comnico) Search

func (p *Comnico) Search(bd *structs.BestDeal, productCode *string, out chan<- *structs.Deal, ctx context.Context)

type Epiesa

type Epiesa structs.ProviderStruct

func (*Epiesa) Search

func (p *Epiesa) Search(bd *structs.BestDeal, productCode *string, out chan<- *structs.Deal, ctx context.Context)

type Pieseauto

type Pieseauto structs.ProviderStruct

func (*Pieseauto) Search

func (p *Pieseauto) Search(bd *structs.BestDeal, productCode *string, out chan<- *structs.Deal, ctx context.Context)

type Rapidauto

type Rapidauto structs.ProviderStruct

func (*Rapidauto) Search

func (p *Rapidauto) Search(bd *structs.BestDeal, productCode *string, out chan<- *structs.Deal, ctx context.Context)

type Targuldepiese

type Targuldepiese structs.ProviderStruct

func (*Targuldepiese) Search

func (p *Targuldepiese) Search(bd *structs.BestDeal, productCode *string, out chan<- *structs.Deal, ctx context.Context)

type Trol

func (*Trol) Search

func (p *Trol) Search(bd *structs.BestDeal, productCode *string, out chan<- *structs.Deal, ctx context.Context)

Jump to

Keyboard shortcuts

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