store

package
v0.0.0-...-b0e2d2c Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Crawl

func Crawl(logger *slog.Logger, handler ProductHandler)

func FindCategories

func FindCategories(logger *slog.Logger) (map[string]string, error)

func FindProducts

func FindProducts(pageNumber int, categoryId, slug string, callback func(definition.WortenProductHit) error) (bool, error)

Types

type ProductHandler

type ProductHandler struct {
	Logger    *slog.Logger
	Publisher *mq.Publisher
}

func (*ProductHandler) Handle

Jump to

Keyboard shortcuts

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